I using GetSpellDescription in legion without any problems, now blizzard change this function and must by called with ContinueOnSpellLoad, but dont work any help me.
me previous (legion) code:
Lua Code:
spell_desc = {
type = 'description',
fontSize = 'medium',
order = 3.3,
name = function(info)
return GetSpellDescription(spellID)
end,
},
me BFA code (dont work, no bugs report only dont show any):
Lua Code:
spell_desc = {
type = 'description',
fontSize = 'medium',
order = 3.3,
name = function(info)
local spell = Spell:CreateFromSpellID(spellID);
spell:ContinueOnSpellLoad(function()
return GetSpellDescription(spell:GetSpellID())
end);
end,
},