mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 16:34:45 +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 debuffColor = self.db.colors.auraBarDebuff
|
||||||
local attachTo = frame
|
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])
|
buffColor = E.myclass == "PRIEST" and E.PriestColors or (CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[E.myclass] or RAID_CLASS_COLORS[E.myclass])
|
||||||
end
|
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])
|
debuffColor = E.myclass == "PRIEST" and E.PriestColors or (CUSTOM_CLASS_COLORS and CUSTOM_CLASS_COLORS[E.myclass] or RAID_CLASS_COLORS[E.myclass])
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -223,6 +223,8 @@ function UF:CheckFilter(name, caster, spellID, isFriend, isPlayer, isUnit, allow
|
|||||||
-- end
|
-- end
|
||||||
-- end
|
-- end
|
||||||
-- end
|
-- end
|
||||||
|
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
function UF:AuraBarFilter(unit, name, _, _, _, debuffType, duration, _, unitCaster, isStealable, _, spellID)
|
function UF:AuraBarFilter(unit, name, _, _, _, debuffType, duration, _, unitCaster, isStealable, _, spellID)
|
||||||
|
|||||||
Reference in New Issue
Block a user