Skip to content

Commit

Permalink
Merge pull request #772 from Flamanis/fix-spellid-global
Browse files Browse the repository at this point in the history
Fix spellId capitalization in api2
  • Loading branch information
Tercioo authored Jul 14, 2024
2 parents 8c621e5 + 788e0b0 commit 07eef29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 07eef29

Please sign in to comment.