summaryrefslogtreecommitdiffstats
path: root/nms-patches/ShapedRecipes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ShapedRecipes.patch')
-rw-r--r--nms-patches/ShapedRecipes.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/ShapedRecipes.patch b/nms-patches/ShapedRecipes.patch
index d76aa390..9f7c4969 100644
--- a/nms-patches/ShapedRecipes.patch
+++ b/nms-patches/ShapedRecipes.patch
@@ -1,17 +1,17 @@
--- a/net/minecraft/server/ShapedRecipes.java
+++ b/net/minecraft/server/ShapedRecipes.java
-@@ -1,6 +1,10 @@
+@@ -1,5 +1,10 @@
package net.minecraft.server;
- import javax.annotation.Nullable;
+// CraftBukkit start
+import org.bukkit.craftbukkit.inventory.CraftItemStack;
+import org.bukkit.craftbukkit.inventory.CraftShapedRecipe;
+// CraftBukkit end
-
++
public class ShapedRecipes implements IRecipe {
-@@ -17,6 +21,62 @@
+ private final int width;
+@@ -22,6 +27,62 @@
this.result = itemstack;
}
@@ -71,6 +71,6 @@
+ }
+ // CraftBukkit end
+
- @Nullable
public ItemStack b() {
return this.result;
+ }