GetCompanionInfo("MOUNT") broken for WotLK Classic 3.4.3?
GetCompanionInfo seems broken when getting mount information on WotLK 3.4.3. The following snippet works:
Lua Code:
However, this returns all nil values: Lua Code:
My addon's code is very similar to the snippet above and used to work fine until 3.4.3. The odd thing is that in Interface_Wrath/FrameXML/PetPaperDollFrame.lua there's: Lua Code:
Any ideas are more than welcome! Thanks!! |
I suspect this is one of those areas where they pulled in the retail version of the Collections system rather than grab out the old classic version.
I'm gonna see if I can simulate that for loop with the new functionality in 3.4.3 but I've not touched this part of the API before so in the mean time ... here's the warcraft.wiki ( formerly known as wowpedia rofl ) for what I think they have replaced it with. https://warcraft.wiki.gg/wiki/World_...PI#Collections Yep, this seems to be working as I thought. Here's the lua and toc for a quick test addon Lua Code:
Lua Code:
|
Thanks to your post, I was able to fix my addon!
|
All times are GMT -6. The time now is 12:35 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI