mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
Return true not nil
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user