Fix error from 11.0.2

This commit is contained in:
2024-08-14 13:34:16 -05:00
parent 96cac06743
commit 89191ad299
2 changed files with 23 additions and 0 deletions

View File

@ -34,6 +34,25 @@ if C_Container then
end
end
local GetSpellInfo = GetSpellInfo
if not GetSpellInfo and C_Spell and C_Spell.GetSpellInfo then
GetSpellInfo = function(id)
if not id then
return nil
end
local info = C_Spell.GetSpellInfo(id)
if info then
return info.name, nil, info.iconID
end
end
end
local IsUsableSpell = IsUsableSpell
if not IsUsableSpell and C_Spell and C_Spell.IsSpellUsable then
IsUsableSpell = C_Spell.IsSpellUsable
end
local EQUIPPED_LAST = EQUIPPED_LAST
if not EQUIPPED_LAST then
EQUIPPED_LAST = INVSLOT_LAST_EQUIPPED

View File

@ -1,3 +1,7 @@
v1.10.2:
- Fix error from 11.0.2
v1.10.1:
- Update Classic-era TOC for 1.15.3