117118119120121122123124125126127
mousePressed = true; if (item != null) { if(split && item.getCount()>1){ item.toggleShow(split); itemAtCursor = inventory.new InventoryField(item.getItem()); } else{ item.toggleShow(false); itemAtCursor = item; } }