Attempt to compare nil with number error
Sembiance opened this issue ยท 0 comments
Whenever I start a battle against a Rose Taipan with my Direbeak Hatchling, Forest Spiderling and Menagerie Custodian, I get this error:
Message: Interface\AddOns\BetterBattlePetTooltip\Core.lua:634: attempt to compare nil with number
Time: 12/05/16 15:49:27
Count: 6
Stack: Interface\AddOns\BetterBattlePetTooltip\Core.lua:634: in function `?'
Interface\AddOns\BetterBattlePetTooltip\Core.lua:123: in function <Interface\AddOns\BetterBattlePetTooltip\Core.lua:123>
Locals: self = BetterBattlePetTooltip {
0 = <userdata>
PET_JOURNAL_LIST_UPDATE = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Core.lua:265
PET_BATTLE_OPENING_START = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Core.lua:613
}
event = "PET_BATTLE_OPENING_START"
guid = "Creature-0-3019-1220-27318-97840-000045C5E6"
quality = 1
species = 1749
_ = "Rose Taipan"
_ = 133262
_ = 8
_ = 97840
_ = "Pet Battle: Stormheim"
_ = "The last thing you'll see is a streak of red."
_ = true
_ = true
_ = false
_ = false
obtainable = true
confidence = nil
breed = "S/S"
(*temporary) = "S/S"
(*temporary) = 5
(*temporary) = 5
(*temporary) = "S/S"
(*temporary) = 5
(*temporary) = 3
(*temporary) = "attempt to compare nil with number"
seenWildPetQualities = <table> {
Creature-0-3019-1220-27318-97840-000045A9D6 = 1
Creature-0-3019-1220-27318-97840-000045C5E6 = 1
Creature-0-3019-1220-27318-97840-000045B234 = 1
Creature-0-3023-1220-19694-97559-0000459D38 = 2
Creature-0-3023-1220-19694-97559-000045BF9E = 2
Creature-0-3023-1220-19694-97559-000045BC4C = 2
}
LibPetBreedInfo = <table> {
GetAvailableBreeds = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:158
GetBreedByPetBattleSlot = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:99
breedData = <table> {
}
GetPetPredictedStats = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:126
GetBreedName = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:150
GetBreedByStats = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:58
IterateBreedNames = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:144
GetBreedByPetID = <function> defined @Interface\AddOns\BetterBattlePetTooltip\Libs\LibPetBreedInfo-1.0\LibPetBreedInfo-1.0.lua:46
}
seenWildPetBreeds = <table> {
}
BattlePetBreedID_EnemyObject = <table> {
petOwner = 2
petIndex = 1
}