Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
InfusOnWoW committed Nov 21, 2024
1 parent 163060a commit 058a2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WeakAurasOptions/LoadOptions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ function OptionsPrivate.ConstructOptions(prototype, data, startorder, triggernum
end
elseif(arg.type == "spell") then
local useExactSpellId = (arg.showExactOption and getValue(trigger, nil, "use_exact_"..realname, multiEntry, entryNumber))
if value and value ~= "" and type(value) == "number" or type(value) == "string" then
if value and value ~= "" and (type(value) == "number" or type(value) == "string") then
local spellID = WeakAuras.SafeToNumber(value)
if spellID then
if arg.negativeIsEJ and WeakAuras.IsRetail() and spellID < 0 then
Expand Down

0 comments on commit 058a2c8

Please sign in to comment.