Skip to content

Commit

Permalink
Fix Quantum Chest voiding items near maximum capacity
Browse files Browse the repository at this point in the history
https: //github.com/GregTechCE/GregTech/pull/1724
Co-Authored-By: ALongStringOfNumbers <[email protected]>
  • Loading branch information
serenibyss and ALongStringOfNumbers committed Oct 31, 2021
1 parent a3a3171 commit a13a8fb
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ public ItemStack insertItem(int slot, @Nonnull ItemStack stack, boolean simulate
if (stack.getCount() > insertedAmount) {
remainingStack = stack.copy();
remainingStack.setCount(stack.getCount() - insertedAmount);
return ItemStack.EMPTY;
}
if (!simulate) {
if (itemStack.isEmpty()) {
Expand Down

0 comments on commit a13a8fb

Please sign in to comment.