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.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/nms-patches/InventoryCraftResult.patch b/nms-patches/InventoryCraftResult.patch
index 3a400769..70c8e7f1 100644
--- a/nms-patches/InventoryCraftResult.patch
+++ b/nms-patches/InventoryCraftResult.patch
@@ -1,9 +1,9 @@
--- a/net/minecraft/server/InventoryCraftResult.java
+++ b/net/minecraft/server/InventoryCraftResult.java
-@@ -1,11 +1,44 @@
- package net.minecraft.server;
+@@ -2,12 +2,45 @@
import java.util.Iterator;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import org.bukkit.Location;
+import org.bukkit.craftbukkit.entity.CraftHumanEntity;
@@ -13,6 +13,7 @@
public class InventoryCraftResult implements IInventory {
private final NonNullList<ItemStack> items;
+ private IRecipe b;
+ // CraftBukkit start
+ private int maxStack = MAX_STACK;
@@ -45,7 +46,7 @@
public InventoryCraftResult() {
this.items = NonNullList.a(1, ItemStack.a);
}
-@@ -59,7 +92,7 @@
+@@ -61,7 +94,7 @@
}
public int getMaxStackSize() {