summaryrefslogtreecommitdiffstats
path: root/nms-patches/RecipiesShield.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/RecipiesShield.patch')
-rw-r--r--nms-patches/RecipiesShield.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/nms-patches/RecipiesShield.patch b/nms-patches/RecipiesShield.patch
index 827907a0..236e726a 100644
--- a/nms-patches/RecipiesShield.patch
+++ b/nms-patches/RecipiesShield.patch
@@ -1,8 +1,8 @@
--- a/net/minecraft/server/RecipiesShield.java
+++ b/net/minecraft/server/RecipiesShield.java
-@@ -13,9 +13,13 @@
-
- static class SyntheticClass_1 { }
+@@ -9,9 +9,13 @@
+ craftingmanager.a(new RecipiesShield.Decoration(null));
+ }
- static class Decoration implements IRecipe {
+ static class Decoration extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
@@ -15,4 +15,4 @@
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
- ItemStack itemstack = null;
+ ItemStack itemstack = ItemStack.a;