
Battle pet Chester make error.
Abyssian opened this issue · 2 comments
Addon Version
1.10.29
World of Warcraft Version
Retail
Describe the bug
The battle pet Chester in my inventory causes this error, and the inventory only shows a few items. ChatGPT immediately pointed out that the error is caused by the pet.
Steps to reproduce
Answer from Chat GPT:
The error occurs due to incorrect usage of the GetPetInfoBySpeciesID(speciesID) function in the ContainerFrame.lua file of the AdiBags addon. Specifically:
css
Usage: GetPetInfoBySpeciesID(speciesID)
This means the addon is passing an invalid argument to GetPetInfoBySpeciesID — most likely not a number (the pet species ID), but a string like |Hbattlepet..., as seen in the logs:
lua
speciesID = "|Hbattlepet"
The GetPetInfoBySpeciesID function expects a numeric species ID, not a battle pet link like |Hbattlepet.
Verification
- I have disabled all other addons and made sure this bug is triggered only with AdiBags enabled
I think this is a duplicate of #1024.