Skip to content

Commit bdb16bd

Browse files
committed
fixes #139
1 parent e99f54a commit bdb16bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/AuraIndicators.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ function EnhancedRaidFrames:FindActiveAndTrackedAura(indicatorFrame)
273273
-- Check if the aura is a spellId and the spellId matches our auraString
274274
or (tonumber(auraIdentifier) and aura.spellId == tonumber(auraIdentifier))
275275
-- Check if the aura is a debuff, if the auraString matches the "dispel" wildcard, and if the player can dispel this type
276-
or (aura.isHarmful and "dispel" == auraIdentifier and LibDispel:GetMyDispelTypes()[aura.dispelName])
276+
or (aura.isHarmful and auraIdentifier == "dispel" and aura.dispelName and LibDispel:GetMyDispelTypes()[aura.dispelName])
277277
-- Check if the aura is a debuff and if the auraString matches one of the debuff type wildcards
278-
or (aura.isHarmful and aura.dispelName:lower() == auraIdentifier) then
278+
or (aura.isHarmful and aura.dispelName and aura.dispelName:lower() == auraIdentifier) then
279279

280280
-- Check if we should only show our own auras
281281
if not self.db.profile["indicator-" .. i].mineOnly

0 commit comments

Comments
 (0)