summaryrefslogtreecommitdiffstats
path: root/nms-patches/ShapelessRecipes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ShapelessRecipes.patch')
-rw-r--r--nms-patches/ShapelessRecipes.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/ShapelessRecipes.patch b/nms-patches/ShapelessRecipes.patch
index eee448a9..0ed46af4 100644
--- a/nms-patches/ShapelessRecipes.patch
+++ b/nms-patches/ShapelessRecipes.patch
@@ -1,8 +1,8 @@
--- a/net/minecraft/server/ShapelessRecipes.java
+++ b/net/minecraft/server/ShapelessRecipes.java
-@@ -6,6 +6,11 @@
+@@ -5,6 +5,11 @@
+ import java.util.Iterator;
import java.util.List;
- import javax.annotation.Nullable;
+// CraftBukkit start
+import org.bukkit.craftbukkit.inventory.CraftItemStack;
@@ -12,7 +12,7 @@
public class ShapelessRecipes implements IRecipe {
private final ItemStack result;
-@@ -16,6 +21,20 @@
+@@ -15,6 +20,20 @@
this.ingredients = list;
}
@@ -30,6 +30,6 @@
+ }
+ // CraftBukkit end
+
- @Nullable
public ItemStack b() {
return this.result;
+ }