Skip to content

Commit

Permalink
Update functions.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMeepso authored Sep 21, 2024
1 parent d5badef commit 1e7fbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 1e7fbdc

Please sign in to comment.