mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-20 14:32:26 +01:00
Fix Crafter maximum stack size
By: md_5 <git@md-5.net>
This commit is contained in:
parent
4fde00f8dc
commit
b4d633f7df
@ -19,7 +19,7 @@
|
||||
protected final IContainerProperties containerData;
|
||||
+ // CraftBukkit start - add fields and methods
|
||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<>();
|
||||
+ private int maxStack = 1;
|
||||
+ private int maxStack = MAX_STACK;
|
||||
+
|
||||
+ @Override
|
||||
+ public List<ItemStack> getContents() {
|
||||
|
@ -28,7 +28,7 @@
|
||||
+ // CraftBukkit start - add fields and methods
|
||||
+ private int lastTick = MinecraftServer.currentTick;
|
||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
||||
+ private int maxStack = 64;
|
||||
+ private int maxStack = MAX_STACK;
|
||||
+
|
||||
+ public void onOpen(CraftHumanEntity who) {
|
||||
+ transaction.add(who);
|
||||
|
Loading…
Reference in New Issue
Block a user