From fe4e233bf2577ea61905c81c0b2e0b950b67308a Mon Sep 17 00:00:00 2001 From: Ghzdude <44148655+ghzdude@users.noreply.github.com> Date: Fri, 14 Jul 2023 11:44:12 -0700 Subject: [PATCH] remove comment use `getExportItems()` remove commented code --- .../storage/MetaTileEntityQuantumChest.java | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java index 0ec2bc93115..6a83a103afe 100644 --- a/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java +++ b/src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java @@ -506,23 +506,7 @@ public Type getType() { @Override public IItemHandler getTypeValue() { - return new ItemHandlerProxy(this.itemInventory, this.combinedInventory){ - @NotNull - @Override - public ItemStack insertItem(int slot, @NotNull ItemStack stack, boolean simulate) { - return getItemInventory().insertItem(slot, stack, simulate); - } - - @NotNull - @Override - public ItemStack extractItem(int slot, int amount, boolean simulate) { - ItemStack extractedStack = getItemInventory().extractItem(0, amount, simulate); - if (extractedStack.isEmpty()) { - extractedStack = getExportItems().extractItem(0, amount, simulate); - } - return extractedStack; - } - }; + return this.itemInventory; } @Override