summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityMinecartContainer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityMinecartContainer.patch')
-rw-r--r--nms-patches/EntityMinecartContainer.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/nms-patches/EntityMinecartContainer.patch b/nms-patches/EntityMinecartContainer.patch
index 7818e31a..29b85892 100644
--- a/nms-patches/EntityMinecartContainer.patch
+++ b/nms-patches/EntityMinecartContainer.patch
@@ -1,6 +1,6 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/EntityMinecartContainer.java 2014-11-28 17:43:43.133707434 +0000
-+++ src/main/java/net/minecraft/server/EntityMinecartContainer.java 2014-11-28 17:38:16.000000000 +0000
-@@ -1,9 +1,48 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/EntityMinecartContainer.java 2015-02-26 22:40:22.631608139 +0000
++++ src/main/java/net/minecraft/server/EntityMinecartContainer.java 2015-02-26 22:40:22.631608139 +0000
+@@ -1,10 +1,49 @@
package net.minecraft.server;
+// CraftBukkit start
@@ -16,7 +16,7 @@
- private ItemStack[] items = new ItemStack[36];
+ private ItemStack[] items = new ItemStack[27]; // CraftBukkit - 36 -> 27
private boolean b = true;
-+
+
+ // CraftBukkit start
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
+ private int maxStack = MAX_STACK;
@@ -47,10 +47,11 @@
+ maxStack = size;
+ }
+ // CraftBukkit end
-
++
public EntityMinecartContainer(World world) {
super(world);
-@@ -81,7 +120,7 @@
+ }
+@@ -84,7 +123,7 @@
}
public int getMaxStackSize() {