actionbar: add cooldowns to scanned vanilla macros

This commit is contained in:
shagu
2021-08-01 15:12:16 +02:00
parent 67adb7ef54
commit 46c5320535
+2 -1
View File
@@ -647,7 +647,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function ()
elseif button.bar == 12 then
start, duration, enable = GetPetActionCooldown(button.id)
elseif button.spellslot and button.booktype then
start, duration, enabled = GetSpellCooldown(button.spellslot, button.booktype)
start, duration = GetSpellCooldown(button.spellslot, button.booktype)
enable = 1
else
start, duration, enable = GetActionCooldown(button.id)
end