From e0a94af2854e900f45d2c6cc77a50061608ada98 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 19 Jul 2019 16:36:53 +0200 Subject: [PATCH] actionbar: only set attributes while not in combat --- modules/actionbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 8130c3ba..f7568f73 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -260,7 +260,7 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () if event == "ACTIONBAR_UPDATE_STATE" then return end -- handle secure action button templates (tbc+) - if self.SetAttribute then + if self.SetAttribute and InCombatLockdown and not InCombatLockdown() then if self.bar == 11 then self:SetAttribute("type", "spell") self:SetAttribute('spell', select(2, GetShapeshiftFormInfo(id)))