Closed Daemon34 closed 2 weeks ago
thank you!, I'll check this still today!
Fix multiple lua errors on The War Withing Beta happening when joining a group :
- Fixed nil values errors on IsPassiveSpell, GetSpellCharges, GetSpellBookItemName because of new C_Spell and C_SpellBook API
- Use Enum.SpellBookSpellBank.Pet instead of "pet" and use spellBookPlayerEnum instead of "player" to avoid issues when calling SpellBook functions using book type argument
- Fix issue on GetSpellCooldown returning new SpellCooldownInfo structure which caused start and duration local to be of type table and nil
great job, works fine.
Thank you so much for the fix!
Retail bugged on /reload
1x ...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:825: attempt to index local 'spellCooldownInfo' (a number value)
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:508: in function <...ns/Details/Libs/LibOpenRaid/GetPlayerInformation.lua:507>
[string "@Details/Libs/LibOpenRaid/GetPlayerInformation.lua"]:732: in function GetPlayerCooldownList' [string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:2469: in function
SendAllPlayerCooldowns'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:1083: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:1075>
[string "=[C]"]: in function `xpcall'
[string "@Details/Libs/LibOpenRaid/LibOpenRaid.lua"]:602: in function <...faceDetails/Libs/LibOpenRaid/LibOpenRaid.lua:587>
fixed.
Fix multiple lua errors on The War Withing Beta happening when joining a group :