From b4d633f7df64f92a969af32dd2bfd742c3614aeb Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Sat, 3 Feb 2024 13:52:43 +1100 Subject: [PATCH] Fix Crafter maximum stack size By: md_5 --- .../minecraft/world/level/block/entity/CrafterBlockEntity.patch | 2 +- .../world/level/block/entity/TileEntityBrewingStand.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-server/nms-patches/net/minecraft/world/level/block/entity/CrafterBlockEntity.patch b/paper-server/nms-patches/net/minecraft/world/level/block/entity/CrafterBlockEntity.patch index 884f519a3e..0968ac7fb8 100644 --- a/paper-server/nms-patches/net/minecraft/world/level/block/entity/CrafterBlockEntity.patch +++ b/paper-server/nms-patches/net/minecraft/world/level/block/entity/CrafterBlockEntity.patch @@ -19,7 +19,7 @@ protected final IContainerProperties containerData; + // CraftBukkit start - add fields and methods + public List transaction = new java.util.ArrayList<>(); -+ private int maxStack = 1; ++ private int maxStack = MAX_STACK; + + @Override + public List getContents() { diff --git a/paper-server/nms-patches/net/minecraft/world/level/block/entity/TileEntityBrewingStand.patch b/paper-server/nms-patches/net/minecraft/world/level/block/entity/TileEntityBrewingStand.patch index ebdc6f2bab..a1524898f1 100644 --- a/paper-server/nms-patches/net/minecraft/world/level/block/entity/TileEntityBrewingStand.patch +++ b/paper-server/nms-patches/net/minecraft/world/level/block/entity/TileEntityBrewingStand.patch @@ -28,7 +28,7 @@ + // CraftBukkit start - add fields and methods + private int lastTick = MinecraftServer.currentTick; + public List transaction = new java.util.ArrayList(); -+ private int maxStack = 64; ++ private int maxStack = MAX_STACK; + + public void onOpen(CraftHumanEntity who) { + transaction.add(who);