From 886d41ac5a3e4e36b31a573cada4430c3321e823 Mon Sep 17 00:00:00 2001 From: Logan Payton Date: Wed, 16 May 2018 15:16:13 -0400 Subject: [PATCH] Return true not nil --- ElvUI/Modules/UnitFrames/Elements/AuraBars.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ElvUI/Modules/UnitFrames/Elements/AuraBars.lua b/ElvUI/Modules/UnitFrames/Elements/AuraBars.lua index 202720c..14ccad6 100644 --- a/ElvUI/Modules/UnitFrames/Elements/AuraBars.lua +++ b/ElvUI/Modules/UnitFrames/Elements/AuraBars.lua @@ -92,11 +92,11 @@ function UF:Configure_AuraBars(frame) local debuffColor = self.db.colors.auraBarDebuff local attachTo = frame - if(E:CheckClassColor(buffColor.r, buffColor.g, buffColor.b)) then + if E:CheckClassColor(buffColor.r, buffColor.g, buffColor.b) then buffColor = E.myclass == "PRIEST" and E.PriestColors or (CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[E.myclass] or RAID_CLASS_COLORS[E.myclass]) end - if(E:CheckClassColor(debuffColor.r, debuffColor.g, debuffColor.b)) then + if E:CheckClassColor(debuffColor.r, debuffColor.g, debuffColor.b) then debuffColor = E.myclass == "PRIEST" and E.PriestColors or (CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[E.myclass] or RAID_CLASS_COLORS[E.myclass]) end @@ -223,6 +223,8 @@ function UF:CheckFilter(name, caster, spellID, isFriend, isPlayer, isUnit, allow -- end -- end -- end + + return true end function UF:AuraBarFilter(unit, name, _, _, _, debuffType, duration, _, unitCaster, isStealable, _, spellID)