From 1e7fbdce83603ef9a26537bbba13695acb4c4bd4 Mon Sep 17 00:00:00 2001 From: Meep <50252724+DrMeepso@users.noreply.github.com> Date: Sat, 21 Sep 2024 23:27:11 +1200 Subject: [PATCH] Update functions.lua --- server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/functions.lua b/server/functions.lua index 40ebc61e..79b3b27f 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -379,7 +379,7 @@ function CanAddItem(identifier, item, amount) return false, 'weight' end - local slotsUsed, slotsFree = GetSlots(identifier) + local slotsUsed, _ = GetSlots(identifier) if slotsUsed >= inventory.slots then return false, 'slots'