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.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/InventoryCrafting.patch b/nms-patches/InventoryCrafting.patch
index c51c6dde..45dcce2b 100644
--- a/nms-patches/InventoryCrafting.patch
+++ b/nms-patches/InventoryCrafting.patch
@@ -1,8 +1,9 @@
--- a/net/minecraft/server/InventoryCrafting.java
+++ b/net/minecraft/server/InventoryCrafting.java
-@@ -1,5 +1,14 @@
+@@ -1,6 +1,14 @@
package net.minecraft.server;
+ import javax.annotation.Nullable;
+// CraftBukkit start
+import java.util.List;
+import org.bukkit.Location;
@@ -11,11 +12,10 @@
+import org.bukkit.entity.HumanEntity;
+import org.bukkit.event.inventory.InventoryType;
+// CraftBukkit end
-+
+
public class InventoryCrafting implements IInventory {
- private final ItemStack[] items;
-@@ -7,6 +16,53 @@
+@@ -9,6 +17,53 @@
private final int c;
private final Container d;