public void removelol(Item item, int amount) { int am = item.getCount() - amount; remove(item, -1); if (am > 0) { item.setCount(am); add(item); } }