From ef1b9ee9a81c555a19247e26a1eb526e4b272105 Mon Sep 17 00:00:00 2001 From: chromapid <67613147+chromapid@users.noreply.github.com> Date: Tue, 21 Dec 2021 10:47:13 -0700 Subject: [PATCH] Update CubotInventory.java --- src/main/java/net/simon987/mar/cubot/CubotInventory.java | 2 -- 1 file changed, 2 deletions(-) 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); } }