summaryrefslogtreecommitdiffstats
path: root/nms-patches/InventoryCrafting.patch
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-02-26 22:41:06 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-03-04 09:48:58 +0000
commitd8a9c7be4227b2243968b63ab7cc7a00098c93ad (patch)
tree554a08a5f23ffa5dd66a28247d6358515b1ffb7a /nms-patches/InventoryCrafting.patch
parent33d5de312e9fcc8aec3fc53136658cb6920562aa (diff)
downloadcraftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.gz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.lz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.tar.xz
craftbukkit-d8a9c7be4227b2243968b63ab7cc7a00098c93ad.zip
Update to Minecraft 1.8.3
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;
+