Skip to content

Commit a3d98c4

Browse files
committed
[Statuses\DispelByMe] Cleanup
1 parent 3f36501 commit a3d98c4

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

Statuses/DispelByMe.lua

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -97,24 +97,19 @@ function PlexusStatusAuras:UNIT_AURA(_, unitid, updatedAuras)
9797
ok, filtered = xpcall(function() return C_UnitAuras.IsAuraFilteredOutByInstanceID(unitid, instanceID, filter) end, geterrorhandler())
9898
if ok and not filtered then
9999
dispelTypeColor = C_UnitAuras.GetAuraDispelTypeColor(unitid, instanceID, curve)
100-
--if dispelTypeColor then
101-
if ok and not filtered then
102-
PlexusStatusAuras.core:SendStatusGained(guid,
103-
"dispelable_by_me",
104-
settings.priority,
105-
nil,
106-
dispelTypeColor or settings.color,
107-
nil,
108-
nil,
109-
nil,
110-
nil,
111-
nil,
112-
nil,
113-
nil,
114-
nil)
115-
end
116-
--end
117-
break
100+
PlexusStatusAuras.core:SendStatusGained(guid,
101+
"dispelable_by_me",
102+
settings.priority,
103+
nil,
104+
dispelTypeColor or settings.color,
105+
nil,
106+
nil,
107+
nil,
108+
nil,
109+
nil,
110+
nil,
111+
nil,
112+
nil)
118113
end
119114
end
120115
end

0 commit comments

Comments
 (0)