summaryrefslogtreecommitdiffstats
path: root/nms-patches/RecipeFireworks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/RecipeFireworks.patch')
-rw-r--r--nms-patches/RecipeFireworks.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/nms-patches/RecipeFireworks.patch b/nms-patches/RecipeFireworks.patch
index 2105cfcf..43478e02 100644
--- a/nms-patches/RecipeFireworks.patch
+++ b/nms-patches/RecipeFireworks.patch
@@ -4,17 +4,17 @@
import com.google.common.collect.Lists;
import java.util.ArrayList;
--public class RecipeFireworks extends IRecipe {
-+public class RecipeFireworks extends ShapelessRecipes { // CraftBukkit
+-public class RecipeFireworks implements IRecipe {
++public class RecipeFireworks extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
- private ItemStack b;
+ private ItemStack a;
+ // CraftBukkit start - Delegate to new parent class with bogus info
public RecipeFireworks() {
+ super("", new ItemStack(Items.FIREWORKS, 0, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.GUNPOWDER)));
- this.b = ItemStack.a;
+ this.a = ItemStack.a;
}
+ // CraftBukkit end
public boolean a(InventoryCrafting inventorycrafting, World world) {
- this.b = ItemStack.a;
+ this.a = ItemStack.a;