From 87ddb64d5ba808f04417c63562e44e98f6591e4a Mon Sep 17 00:00:00 2001 From: jordon <29447509+jordonwow@users.noreply.github.com> Date: Thu, 24 Mar 2022 22:13:11 -0700 Subject: [PATCH] fix CompactUnitFrame_UtilIsPriorityDebuff() --- BigDebuffs.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BigDebuffs.lua b/BigDebuffs.lua index eac9fe3..8b3e9f9 100755 --- a/BigDebuffs.lua +++ b/BigDebuffs.lua @@ -1610,9 +1610,9 @@ if WOW_PROJECT_ID == WOW_PROJECT_MAINLINE then else local Default_CompactUnitFrame_UtilIsPriorityDebuff = CompactUnitFrame_UtilIsPriorityDebuff - local function CompactUnitFrame_UtilIsPriorityDebuff(...) - local _,_,_,_,_,_,_,_,_, spellId = UnitDebuff(...) - return BigDebuffs:IsPriorityDebuff(spellId) or Default_CompactUnitFrame_UtilIsPriorityDebuff(spellId) + local function CompactUnitFrame_UtilIsPriorityDebuff(unit, index, filter) + local _,_,_,_,_,_,_,_,_, spellId = UnitDebuff(unit, index, filter) + return BigDebuffs:IsPriorityDebuff(spellId) or Default_CompactUnitFrame_UtilIsPriorityDebuff(unit, index, filter) end local Default_SpellGetVisibilityInfo = SpellGetVisibilityInfo