Skip to content

Commit b75112d

Browse files
committed
Fix error in CD module set to WhenReady mode
1 parent 42e76dd commit b75112d

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
v1.15.8:
4+
5+
- Fix reported error with custom cooldown bars set to "when ready" mode due to deprecation in 11.x (wowace issue #368)
6+
37
v1.15.7:
48

59
- 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).

modules/CustomCDBar.lua

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ if not IsUsableSpell and C_Spell then
6161
IsUsableSpell = C_Spell.IsSpellUsable
6262
end
6363

64+
local SpellHasRange = SpellHasRange
65+
if not SpellHasRange and C_Spell then
66+
SpellHasRange = C_Spell.SpellHasRange
67+
end
68+
6469
IceCustomCDBar.prototype.cooldownDuration = 0
6570
IceCustomCDBar.prototype.cooldownEndTime = 0
6671
IceCustomCDBar.prototype.coolingDown = false

this_version.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
v1.15.8:
4+
5+
- Fix reported error with custom cooldown bars set to "when ready" mode due to deprecation in 11.x (wowace issue #368)
6+
37
v1.15.7:
48

59
- 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).

0 commit comments

Comments
 (0)