From 788e0b0adb56db2367200d4c07ae6351cfc567ac 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 a89fe393f..c2acbddc6 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