diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index cd8a954c2b..7dc63d7c72 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -8824,7 +8824,7 @@ Private.event_prototypes = { }, GetNameAndIcon = function(trigger) local name, icon, spellId, _ - if trigger.use_spellNames and type(trigger.spellNames == "table") then + if trigger.use_spellNames and type(trigger.spellNames) == "table" then for _, spellName in ipairs(trigger.spellNames) do spellId = WeakAuras.SafeToNumber(spellName) if spellId then @@ -8840,7 +8840,7 @@ Private.event_prototypes = { end end end - if trigger.use_spellIds and type(trigger.spellIds == "table") then + if trigger.use_spellIds and type(trigger.spellIds) == "table" then for _, spellIdString in ipairs(trigger.spellIds) do spellId = WeakAuras.SafeToNumber(spellIdString) if spellId then