summaryrefslogtreecommitdiffstats
path: root/nms-patches/RecipeTippedArrow.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/RecipeTippedArrow.patch')
-rw-r--r--nms-patches/RecipeTippedArrow.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/nms-patches/RecipeTippedArrow.patch b/nms-patches/RecipeTippedArrow.patch
index dbf39cc1..c828203e 100644
--- a/nms-patches/RecipeTippedArrow.patch
+++ b/nms-patches/RecipeTippedArrow.patch
@@ -1,17 +1,15 @@
--- a/net/minecraft/server/RecipeTippedArrow.java
+++ b/net/minecraft/server/RecipeTippedArrow.java
-@@ -3,11 +3,19 @@
- import java.util.Collection;
- import javax.annotation.Nullable;
+@@ -2,9 +2,17 @@
--class RecipeTippedArrow implements IRecipe {
-+class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
+ import java.util.Collection;
- private static final ItemStack[] a = new ItemStack[9];
+-public class RecipeTippedArrow implements IRecipe {
++public class RecipeTippedArrow extends ShapedRecipes implements IRecipe { // CraftBukkit
-- RecipeTippedArrow() {}
+- public RecipeTippedArrow() {}
+ // CraftBukkit start
-+ RecipeTippedArrow() {
++ 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),
@@ -21,4 +19,4 @@
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
- if (inventorycrafting.i() == 3 && inventorycrafting.h() == 3) {
+ if (inventorycrafting.j() == 3 && inventorycrafting.i() == 3) {