Skip to content

Commit

Permalink
Merge pull request #5 from LoneWanderer-GH/fix-issue-#4
Browse files Browse the repository at this point in the history
Fix for issue #4
  • Loading branch information
LoneWanderer-GH authored Jan 8, 2020
2 parents 2395ea0 + 87032db commit 272374d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ do -- scans spellbook to update cooldowns, throttled since the event fires a lo
local currentCharges, maxCharges, cooldownStart, cooldownDuration = GetSpellCharges(id)
if cooldownStart and cooldownDuration and currentCharges < maxCharges and not block[name] then
local _, _, texture = GetSpellInfo(id)
NewCooldown(name, texture, cooldownStart + cooldownDuration, bookType == BOOKTYPE_SPELL)
NewCooldown(name, texture, cooldownStart + cooldownDuration, btype == BOOKTYPE_SPELL)
else
ClearCooldown(nil, name)
end
Expand Down

0 comments on commit 272374d

Please sign in to comment.