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 699a2afe..d76aa390 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,5 +1,10 @@
+@@ -1,6 +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 {
- private final int width;
-@@ -15,6 +20,62 @@
+@@ -17,6 +21,62 @@
this.result = itemstack;
}
@@ -71,6 +71,6 @@
+ }
+ // CraftBukkit end
+
+ @Nullable
public ItemStack b() {
return this.result;
- }