fix(player.lua): Change v.itemName

This commit is contained in:
TheFantomas
2023-06-29 23:09:15 +02:00
committed by GitHub
parent 684faffdc9
commit 7294fe9b4e
+1 -1
View File
@@ -256,7 +256,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
function self.getInventoryItem(itemName)
for _, v in ipairs(self.inventory) do
if v.itemName == itemName then
if v.name == itemName then
return v
end
end