Clean up hopper optimization patch

This commit is contained in:
Nassim Jahnke
2023-02-23 17:37:56 +01:00
parent a7a3da8802
commit 4f14496fbd
2 changed files with 238 additions and 113 deletions

View File

@@ -18,9 +18,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
stack = stack.split(to.getMaxStackSize());
}
// Spigot end
IGNORE_TILE_UPDATES = true; // Paper
ignoreTileUpdates = true; // Paper
to.setItem(slot, stack);
IGNORE_TILE_UPDATES = false; // Paper
ignoreTileUpdates = false; // Paper
- stack = ItemStack.EMPTY;
+ stack = leftover; // Paper
flag = true;