diff --git a/modules/inventory/server.lua b/modules/inventory/server.lua index 81aa14cfc1..06468bc1aa 100644 --- a/modules/inventory/server.lua +++ b/modules/inventory/server.lua @@ -1687,7 +1687,7 @@ lib.callback.register('ox_inventory:swapItems', function(source, data) return end - Inventory.ContainerWeight(containerItem, toContainer and fromWeight or toWeight, playerInventory) + Inventory.ContainerWeight(containerItem, toContainer and toWeight or fromWeight, playerInventory) end if fromOtherPlayer then