summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryCraftResult.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/InventoryCraftResult.patch')
-rw-r--r--nms-patches/InventoryCraftResult.patch13
1 files changed, 7 insertions, 6 deletions
diff --git a/nms-patches/InventoryCraftResult.patch b/nms-patches/InventoryCraftResult.patch
index a5a93db1..725b887a 100644
--- a/nms-patches/InventoryCraftResult.patch
+++ b/nms-patches/InventoryCraftResult.patch
@@ -1,6 +1,6 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/InventoryCraftResult.java 2014-11-28 17:43:43.201707433 +0000
-+++ src/main/java/net/minecraft/server/InventoryCraftResult.java 2014-11-28 17:38:18.000000000 +0000
-@@ -1,8 +1,36 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/InventoryCraftResult.java 2015-02-26 22:40:22.767608137 +0000
++++ src/main/java/net/minecraft/server/InventoryCraftResult.java 2015-02-26 22:40:22.767608137 +0000
+@@ -1,9 +1,37 @@
package net.minecraft.server;
+// CraftBukkit start
@@ -11,7 +11,7 @@
public class InventoryCraftResult implements IInventory {
private ItemStack[] items = new ItemStack[1];
-+
+
+ // CraftBukkit start
+ private int maxStack = MAX_STACK;
+
@@ -33,10 +33,11 @@
+ public void setMaxStackSize(int size) {
+ maxStack = size;
+ }
-+ // CraftBukkit end
-
++ // CraftBukkit end
++
public InventoryCraftResult() {}
+ public int getSize() {
@@ -53,7 +81,7 @@
}