Skip to content

Commit

Permalink
fix: #2226 reactive.lua:255: attempt to call global 'GetSpellCount' (…
Browse files Browse the repository at this point in the history
…a nil value)
  • Loading branch information
ascott18 committed Sep 9, 2024
1 parent 8cb6a2a commit e2ff3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Components/IconTypes/IconType_reactive/reactive.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ local function Reactive_OnUpdate(icon, time)

cooldown = GetSpellCooldown(NameFirst)
charges = GetSpellCharges(NameFirst) or emptyTable
stack = charges and charges.currentCharges or GetSpellCount(NameFirst)
stack = charges and charges.currentCharges or GetSpellCastCount(NameFirst)

if IgnoreRunes and (cooldown and cooldown.duration) == runeCD and NameFirst ~= mindfreeze and NameFirst ~= 47528 then
-- DK abilities that are on cooldown because of runes are always reported
Expand Down

0 comments on commit e2ff3d9

Please sign in to comment.