Skip to content

Commit a13a8fb

Browse files
Fix Quantum Chest voiding items near maximum capacity
https: //github.com/GregTechCE/GregTech/pull/1724 Co-Authored-By: ALongStringOfNumbers <[email protected]>
1 parent a3a3171 commit a13a8fb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/gregtech/common/metatileentities/storage/MetaTileEntityQuantumChest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate
484484
if (stack.getCount() > insertedAmount) {
485485
remainingStack = stack.copy();
486486
remainingStack.setCount(stack.getCount() - insertedAmount);
487-
return ItemStack.EMPTY;
488487
}
489488
if (!simulate) {
490489
if (itemStack.isEmpty()) {

0 commit comments

Comments
 (0)