Skip to content

Commit

Permalink
fix(server/inventory): remove left over prints (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
FjamZoo committed Dec 15, 2023
1 parent d7d10ac commit 9318111
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/inventory/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1015,13 +1015,11 @@ function Inventory.SetSlotCount(inv, slots)
inv.slots = slots

if inv.player then
print('inv.player')
TriggerClientEvent('ox_inventory:refreshSlotCount', inv.id, {inventoryId = inv.id, slots = inv.slots})
end

for playerId in pairs(inv.openedBy) do
if playerId ~= inv.id then
print('playerId')
TriggerClientEvent('ox_inventory:refreshSlotCount', playerId, {inventoryId = inv.id, slots = inv.slots})
end
end
Expand Down

0 comments on commit 9318111

Please sign in to comment.