geforkt von Mirrors/Paper
Fix Crafter maximum stack size
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
4fde00f8dc
Commit
b4d633f7df
@ -19,7 +19,7 @@
|
|||||||
protected final IContainerProperties containerData;
|
protected final IContainerProperties containerData;
|
||||||
+ // CraftBukkit start - add fields and methods
|
+ // CraftBukkit start - add fields and methods
|
||||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<>();
|
+ public List<HumanEntity> transaction = new java.util.ArrayList<>();
|
||||||
+ private int maxStack = 1;
|
+ private int maxStack = MAX_STACK;
|
||||||
+
|
+
|
||||||
+ @Override
|
+ @Override
|
||||||
+ public List<ItemStack> getContents() {
|
+ public List<ItemStack> getContents() {
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
+ // CraftBukkit start - add fields and methods
|
+ // CraftBukkit start - add fields and methods
|
||||||
+ private int lastTick = MinecraftServer.currentTick;
|
+ private int lastTick = MinecraftServer.currentTick;
|
||||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
||||||
+ private int maxStack = 64;
|
+ private int maxStack = MAX_STACK;
|
||||||
+
|
+
|
||||||
+ public void onOpen(CraftHumanEntity who) {
|
+ public void onOpen(CraftHumanEntity who) {
|
||||||
+ transaction.add(who);
|
+ transaction.add(who);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren