Skip to content

Commit

Permalink
Merge pull request #593 from SweepyBoop/fix-actionbar-block
Browse files Browse the repository at this point in the history
Fix action bar block
  • Loading branch information
jordonwow authored Jan 22, 2023
2 parents fd0e86b + 8e535cc commit ab0a3b4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1315,16 +1315,6 @@ function BigDebuffs:AddBigDebuffs(frame)
end

local pending = {}
local function checkFrame(frame)
if not issecurevariable(frame, "action") and not InCombatLockdown() then
frame.action = nil
frame:SetAttribute("action");
end
end

for _, frame in ipairs(ActionBarButtonEventsFrame.frames) do
if frame.UpdateAction then hooksecurefunc(frame, "UpdateAction", checkFrame) end
end

hooksecurefunc("CompactUnitFrame_UpdateAll", function(frame)
if not BigDebuffs.db.profile then return end
Expand Down

0 comments on commit ab0a3b4

Please sign in to comment.