From 3873cf300b26c5fbaf48e58c7ee39448ae58071e Mon Sep 17 00:00:00 2001 From: AlmTech Software Date: Wed, 1 Jan 2020 01:34:27 +0100 Subject: [PATCH] Bug fix --- gamemode/engine/lib/server/sv_inventory.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/gamemode/engine/lib/server/sv_inventory.lua b/gamemode/engine/lib/server/sv_inventory.lua index 8e7d3c2..efa8d24 100644 --- a/gamemode/engine/lib/server/sv_inventory.lua +++ b/gamemode/engine/lib/server/sv_inventory.lua @@ -71,7 +71,6 @@ local function sortItem( char, itemid, amount ) local itemInSlot = Quantum.Server.Inventory.GetSlotItem( char, index ) if( itemInSlot != nil ) then - print( itemInSlot[2] < stacksize, "##", itemInSlot[2], stacksize, index ) if( itemInSlot[2] < stacksize ) then rest = rest - ( stacksize - itemInSlot[2] ) Quantum.Server.Inventory.SetSlotItem( char, index, itemid, stacksize )