From 6461c428003074e8d461c99e06d45ed455b4397c Mon Sep 17 00:00:00 2001 From: Buds Date: Wed, 14 Aug 2024 02:15:37 +0200 Subject: [PATCH] Fix error when creating a trigger of spell type, fixes #5308 --- WeakAuras/GenericTrigger.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WeakAuras/GenericTrigger.lua b/WeakAuras/GenericTrigger.lua index 66556622ad..4ef18160b4 100644 --- a/WeakAuras/GenericTrigger.lua +++ b/WeakAuras/GenericTrigger.lua @@ -3403,7 +3403,7 @@ do function Private.ExecEnv.GetEffectiveSpellId(spellId, exactMatch, followoverride) if not exactMatch then - local spellName = Private.ExecEnv.GetSpellName(spellId) + local spellName = Private.ExecEnv.GetSpellName(spellId or "") if spellName then local spellIdForName = select(7, Private.ExecEnv.GetSpellInfo(spellName)) if spellIdForName then