summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryCrafting.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/InventoryCrafting.patch')
-rw-r--r--nms-patches/InventoryCrafting.patch15
1 files changed, 8 insertions, 7 deletions
diff --git a/nms-patches/InventoryCrafting.patch b/nms-patches/InventoryCrafting.patch
index 2a80e8a2..76a11823 100644
--- a/nms-patches/InventoryCrafting.patch
+++ b/nms-patches/InventoryCrafting.patch
@@ -1,6 +1,6 @@
---- ../work/decompile-8eb82bde//net/minecraft/server/InventoryCrafting.java 2014-11-28 17:43:43.201707433 +0000
-+++ src/main/java/net/minecraft/server/InventoryCrafting.java 2014-11-28 17:38:19.000000000 +0000
-@@ -1,11 +1,61 @@
+--- /home/matt/mc-dev-private//net/minecraft/server/InventoryCrafting.java 2015-02-26 22:40:22.763608137 +0000
++++ src/main/java/net/minecraft/server/InventoryCrafting.java 2015-02-26 22:40:22.763608137 +0000
+@@ -1,5 +1,13 @@
package net.minecraft.server;
+// CraftBukkit start
@@ -14,10 +14,10 @@
public class InventoryCrafting implements IInventory {
private final ItemStack[] items;
- private final int b;
+@@ -7,6 +15,48 @@
private final int c;
private final Container d;
-+
+
+ // CraftBukkit start - add fields
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
+ public IRecipe currentRecipe;
@@ -58,7 +58,8 @@
+ this(container, i, j);
+ this.owner = player;
+ }
-+ // CraftBukkit end
-
++ // CraftBukkit end
++
public InventoryCrafting(Container container, int i, int j) {
int k = i * j;
+