summaryrefslogtreecommitdiffstats
path: root/nms-patches/RecipesBanner.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/RecipesBanner.patch')
-rw-r--r--nms-patches/RecipesBanner.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/RecipesBanner.patch b/nms-patches/RecipesBanner.patch
index 09c32114..3de6f89e 100644
--- a/nms-patches/RecipesBanner.patch
+++ b/nms-patches/RecipesBanner.patch
@@ -1,8 +1,8 @@
--- a/net/minecraft/server/RecipesBanner.java
+++ b/net/minecraft/server/RecipesBanner.java
-@@ -22,9 +22,13 @@
-
- static class SyntheticClass_1 { }
+@@ -20,9 +20,13 @@
+ craftingmanager.a(new RecipesBanner.AddRecipe(null));
+ }
- static class AddRecipe implements IRecipe {
+ static class AddRecipe extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
@@ -16,7 +16,7 @@
public boolean a(InventoryCrafting inventorycrafting, World world) {
boolean flag = false;
-@@ -212,9 +216,13 @@
+@@ -208,9 +212,13 @@
}
}
@@ -31,4 +31,4 @@
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
- ItemStack itemstack = null;
+ ItemStack itemstack = ItemStack.a;