From d6dc89c8f806f4b36384fec7fb25a2072271ca33 Mon Sep 17 00:00:00 2001 From: jordon <29447509+jordonwow@users.noreply.github.com> Date: Mon, 4 Apr 2022 03:00:24 -0700 Subject: [PATCH] attempt to fix CompactUnitFrame.lua error #367 --- BigDebuffs.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/BigDebuffs.lua b/BigDebuffs.lua index 3bebf30..fc3cfe6 100755 --- a/BigDebuffs.lua +++ b/BigDebuffs.lua @@ -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