Skip to content

Commit

Permalink
attempt to fix CompactUnitFrame.lua error #367
Browse files Browse the repository at this point in the history
  • Loading branch information
jordonwow committed Apr 4, 2022
1 parent a2472ff commit d6dc89c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1478,6 +1478,11 @@ if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then
end

hooksecurefunc("CompactUnitFrame_UpdateAuras", function(frame, isFullUpdate, updatedAuraInfos)

if ((not frame) or frame:IsForbidden()) then
return
end

local displayOnlyDispellableDebuffs = frame.optionTable.displayOnlyDispellableDebuffs;

-- if AuraUtil.ShouldSkipAuraUpdate(isFullUpdate, updatedAuraInfos, CompactUnitFrame_CouldDisplayAura, displayOnlyDispellableDebuffs) then
Expand Down

0 comments on commit d6dc89c

Please sign in to comment.