Skip to content

Commit

Permalink
fix CompactUnitFrame_UtilIsPriorityDebuff()
Browse files Browse the repository at this point in the history
  • Loading branch information
jordonwow committed Mar 25, 2022
1 parent ca39f46 commit 87ddb64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BigDebuffs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87ddb64

Please sign in to comment.