@@ -1,20 +1,17 @@
|
||||
--- a/net/minecraft/server/RecipiesShield.java
|
||||
+++ b/net/minecraft/server/RecipiesShield.java
|
||||
@@ -1,8 +1,15 @@
|
||||
@@ -1,10 +1,12 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
-public class RecipiesShield { public static class Decoration implements IRecipe {
|
||||
+// CraftBukkit - decompile weirdness
|
||||
+public class RecipiesShield {
|
||||
-public class RecipiesShield extends IRecipeComplex {
|
||||
+public class RecipiesShield extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
||||
|
||||
- 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
|
||||
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||||
public RecipiesShield(MinecraftKey minecraftkey) {
|
||||
- super(minecraftkey);
|
||||
+ super(minecraftkey, "", new ItemStack(Items.SHIELD, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
|
||||
}
|
||||
+ // CraftBukkit end
|
||||
|
||||
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
||||
ItemStack itemstack = ItemStack.a;
|
||||
public boolean a(IInventory iinventory, World world) {
|
||||
if (!(iinventory instanceof InventoryCrafting)) {
|
||||
|
||||
Reference in New Issue
Block a user