blob: bfdd5ea222a51e4feeed813dc603465790862020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/net/minecraft/server/RecipiesShield.java
+++ b/net/minecraft/server/RecipiesShield.java
@@ -1,8 +1,15 @@
package net.minecraft.server;
-public class RecipiesShield { public static class Decoration implements IRecipe {
+// CraftBukkit - decompile weirdness
+public class RecipiesShield {
- public Decoration() {}
+ public static class Decoration extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
+
+ // CraftBukkit start - Delegate to new parent class with bogus info
+ public Decoration() {
+ super("", new ItemStack(Items.SHIELD, 0, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BANNER)));
+ }
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
ItemStack itemstack = ItemStack.a;
|