Skip to content

Commit

Permalink
fix(server/inventory): incorrect count passed to swapItems hook
Browse files Browse the repository at this point in the history
Resolves #1654.
  • Loading branch information
thelindat committed May 9, 2024
1 parent 6d640f8 commit 23c596e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/inventory/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2430,7 +2430,7 @@ RegisterServerEvent('ox_inventory:giveItem', function(slot, target, count)
fromType = fromInventory.type,
toInventory = toInventory.id,
toType = toInventory.type,
count = data.count,
count = count,
action = 'give',
fromSlot = data,
}) then
Expand Down

0 comments on commit 23c596e

Please sign in to comment.