From c885eceae565f86e45fa91780981ddabd8f97a71 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Sun, 14 Jul 2024 12:24:41 -0500 Subject: [PATCH] init --- functions/api2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/api2.lua b/functions/api2.lua index a89fe393..c2acbddc 100644 --- a/functions/api2.lua +++ b/functions/api2.lua @@ -55,7 +55,7 @@ local getSpellObject = function(playerObject, spellId, isLiteral) elseif (parameterType == "number") then --passed a number but with literal off, transform the spellId into a spell name - local spellName = GetSpellInfo(spellid) + local spellName = GetSpellInfo(spellId) if (spellName) then passedSpellName = spellName:lower() end