diff options
Diffstat (limited to 'nms-patches/RecipeTippedArrow.patch')
-rw-r--r-- | nms-patches/RecipeTippedArrow.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/RecipeTippedArrow.patch b/nms-patches/RecipeTippedArrow.patch index c828203e..79e4312d 100644 --- a/nms-patches/RecipeTippedArrow.patch +++ b/nms-patches/RecipeTippedArrow.patch @@ -4,17 +4,17 @@ import java.util.Collection; --public class RecipeTippedArrow implements IRecipe { -+public class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit +-public class RecipeTippedArrow extends IRecipe { ++public class RecipeTippedArrow extends ShapedRecipes { // CraftBukkit - public RecipeTippedArrow() {} + // CraftBukkit start + public RecipeTippedArrow() { -+ super(3, 3, new ItemStack[]{ -+ new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0), -+ new ItemStack(Items.ARROW, 0), new ItemStack(Items.LINGERING_POTION, 0), new ItemStack(Items.ARROW, 0), -+ new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0), new ItemStack(Items.ARROW, 0) -+ }, new ItemStack(Items.TIPPED_ARROW, 8)); ++ super("", 3, 3, NonNullList.a(RecipeItemStack.a, ++ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW), ++ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.LINGERING_POTION), RecipeItemStack.a(Items.ARROW), ++ RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW), RecipeItemStack.a(Items.ARROW)), ++ new ItemStack(Items.TIPPED_ARROW, 8)); + } + // CraftBukkit end |