diff --git a/changelog.md b/changelog.md index a157178..6a87b30 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,9 @@ # Changelog +v1.15.8: + +- Fix reported error with custom cooldown bars set to "when ready" mode due to deprecation in 11.x (wowace issue #368) + v1.15.7: - Fix cooldown display for overridden spells (such as Evoker spells where Font of Magic replaces the base spell with an override with the same name). diff --git a/modules/CustomCDBar.lua b/modules/CustomCDBar.lua index 5ab93b3..4e461ee 100644 --- a/modules/CustomCDBar.lua +++ b/modules/CustomCDBar.lua @@ -61,6 +61,11 @@ if not IsUsableSpell and C_Spell then IsUsableSpell = C_Spell.IsSpellUsable end +local SpellHasRange = SpellHasRange +if not SpellHasRange and C_Spell then + SpellHasRange = C_Spell.SpellHasRange +end + IceCustomCDBar.prototype.cooldownDuration = 0 IceCustomCDBar.prototype.cooldownEndTime = 0 IceCustomCDBar.prototype.coolingDown = false diff --git a/this_version.md b/this_version.md index b5d8c32..c1c8de3 100644 --- a/this_version.md +++ b/this_version.md @@ -1,5 +1,9 @@ # Changelog +v1.15.8: + +- Fix reported error with custom cooldown bars set to "when ready" mode due to deprecation in 11.x (wowace issue #368) + v1.15.7: - Fix cooldown display for overridden spells (such as Evoker spells where Font of Magic replaces the base spell with an override with the same name).