Skip to content

Commit

Permalink
#48 Fixing consumable cooldowns not correctly displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sellorio committed Oct 5, 2020
1 parent 9c4523b commit 7f609eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-overrides.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ local function GetMegaMacroSpell(macroId)
end

local itemId = GetItemInfoInstant(abilityName)
if itemId then
if itemId and IsEquippedItem(itemId) then
_, spellId = GetItemSpell(itemId)
if spellId then
return spellId
Expand Down

0 comments on commit 7f609eb

Please sign in to comment.