mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
actionbar: only set attributes while not in combat
This commit is contained in:
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user