diff --git a/gamemode/engine/lib/server/sv_inventory.lua b/gamemode/engine/lib/server/sv_inventory.lua index 7cab3fb..9dcea06 100644 --- a/gamemode/engine/lib/server/sv_inventory.lua +++ b/gamemode/engine/lib/server/sv_inventory.lua @@ -103,7 +103,6 @@ function Quantum.Server.Inventory.FindStackable( char, item ) local itemInSlotAmount for i, item2 in pairs( inv ) do itemInSlotAmount = item2[2] || 1 - print( itemInSlotAmount, item.stack ) if( item2[1] == item.id && itemInSlotAmount < item.stack ) then -- if the item is stackable and it is the same item return i -- return its index end diff --git a/gamemode/engine/lib/server/sv_networking.lua b/gamemode/engine/lib/server/sv_networking.lua index 7bd15dd..b763b04 100644 --- a/gamemode/engine/lib/server/sv_networking.lua +++ b/gamemode/engine/lib/server/sv_networking.lua @@ -126,7 +126,6 @@ function Quantum.Net.Inventory.SetItem( pl, index, itemid, amount ) -- sends a i Quantum.WriteIntcode( Quantum.IntCode.SET_ITEM ) -- write the opcode first net.WriteInt( index, Quantum.calculateNeededBits( Quantum.Inventory.Size ) ) net.WriteString( itemid ) - print( amount, Quantum.calculateNeededBits( Quantum.Inventory.MaxStackSize ) ) net.WriteInt( amount, Quantum.calculateNeededBits( Quantum.Inventory.MaxStackSize ) ) net.Send( pl )