dont try to steal bindings in combat, only ends up in errors anyway
This commit is contained in:
@@ -178,6 +178,7 @@ function BT4ActionBars:CreateBarOption(id, options)
|
||||
end
|
||||
|
||||
function BT4ActionBars:ReassignBindings()
|
||||
if InCombatLockdown() then return end
|
||||
if not self.actionbars or not self.actionbars[1] then return end
|
||||
local frame = self.actionbars[1]
|
||||
ClearOverrideBindings(frame)
|
||||
|
||||
@@ -174,6 +174,7 @@ function PetBarMod:ToggleOptions()
|
||||
end
|
||||
|
||||
function PetBarMod:ReassignBindings()
|
||||
if InCombatLockdown() then return end
|
||||
if not self.bar or not self.bar.buttons then return end
|
||||
ClearOverrideBindings(self.bar)
|
||||
for i = 1, 10 do
|
||||
|
||||
@@ -114,6 +114,7 @@ function StanceBarMod:ApplyConfig()
|
||||
end
|
||||
|
||||
function StanceBarMod:ReassignBindings()
|
||||
if InCombatLockdown() then return end
|
||||
if not self.bar or not self.bar.buttons then return end
|
||||
ClearOverrideBindings(self.bar)
|
||||
for i = 1, min(#self.bar.buttons, 10) do
|
||||
|
||||
Reference in New Issue
Block a user