mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 17:40:13 -05:00
Fix error from 11.0.2
This commit is contained in:
@ -34,6 +34,25 @@ if C_Container then
|
|||||||
end
|
end
|
||||||
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
|
local EQUIPPED_LAST = EQUIPPED_LAST
|
||||||
if not EQUIPPED_LAST then
|
if not EQUIPPED_LAST then
|
||||||
EQUIPPED_LAST = INVSLOT_LAST_EQUIPPED
|
EQUIPPED_LAST = INVSLOT_LAST_EQUIPPED
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
v1.10.2:
|
||||||
|
|
||||||
|
- Fix error from 11.0.2
|
||||||
|
|
||||||
v1.10.1:
|
v1.10.1:
|
||||||
|
|
||||||
- Update Classic-era TOC for 1.15.3
|
- Update Classic-era TOC for 1.15.3
|
||||||
|
Reference in New Issue
Block a user