Who Taunted?

Who Taunted?

308k Downloads

[BUG] 11.0 Errors Calling GetSpellLink and GetSpellInfo

Davie3 opened this issue ยท 2 comments

commented

WoW Client Version
11.0

Lua Error

7x WhoTaunted/WhoTaunted.lua:148: attempt to call global 'GetSpellLink' (a nil value)
[string "@WhoTaunted/WhoTaunted.lua"]:148: in function `DisplayTaunt'
[string "@WhoTaunted/WhoTaunted.lua"]:90: in function `?'
[string "@AutoLog/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:145: in function <...Log/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:145>
[string "safecall Dispatcher[1]"]:4: in function <[string "safecall Dispatcher[1]"]:4>
[string "=[C]"]: ?
[string "safecall Dispatcher[1]"]:13: in function `?'
[string "@AutoLog/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:90: in function `Fire'
[string "@AutoLog/Libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...ceAutoLog/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>
commented

Client 11.0 API changes breaks calls to GetSpellLink and GetSpellInfo as they have moved under C_Spell namespaces.

Most functions have simply been moved under the C_SpellBook or C_Spell namespaces, but some changes/conversions are less obvious.

https://warcraft.wiki.gg/wiki/Patch_11.0.0/API_changes

commented

The issue only occurs on mainline. Classic (Cata) still uses the original API methods.