Skip to content

Commit

Permalink
Fix error when creating a trigger of spell type, fixes WeakAuras#5308
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuds committed Aug 14, 2024
1 parent 1592f3d commit 6461c42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAuras/GenericTrigger.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6461c42

Please sign in to comment.