diff --git a/src/main/java/net/simon987/mar/cubot/CubotInventory.java b/src/main/java/net/simon987/mar/cubot/CubotInventory.java index 2b69db7..ec785b0 100644 --- a/src/main/java/net/simon987/mar/cubot/CubotInventory.java +++ b/src/main/java/net/simon987/mar/cubot/CubotInventory.java @@ -56,8 +56,6 @@ public class CubotInventory extends HardwareModule { int x = getCpu().getRegisterSet().getRegister("X").getValue(); Item item = inventory.get(position); if (item != null) { - item.clear(unit); - inventory.remove(position); item.digitize(unit.getCpu().getMemory(), x); } }