diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/net/minecraft/server/RecipeBookClone.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/RecipeBookClone.java b/src/main/java/net/minecraft/server/RecipeBookClone.java index 473ed4e6..8182a5fd 100644 --- a/src/main/java/net/minecraft/server/RecipeBookClone.java +++ b/src/main/java/net/minecraft/server/RecipeBookClone.java @@ -1,6 +1,12 @@ package net.minecraft.server; -public class RecipeBookClone implements IRecipe { +public class RecipeBookClone extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends + + // CraftBukkit start - Delegate to new parent class + public RecipeBookClone() { + super(new ItemStack(Items.WRITTEN_BOOK, 0, -1), java.util.Arrays.asList(new ItemStack(Items.BOOK_AND_QUILL, 0, 0))); + } + // CraftBukkit end public boolean a(InventoryCrafting inventoryCrafting, World paramWorld) { int i = 0; |