blob: 31b863eb6b097ca8e68064d77d6a0dff2570b9bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- a/net/minecraft/server/RecipeFireworksFade.java
+++ b/net/minecraft/server/RecipeFireworksFade.java
@@ -4,13 +4,15 @@
import java.util.ArrayList;
import java.util.List;
-public class RecipeFireworksFade extends IRecipeComplex {
+public class RecipeFireworksFade extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
private static final RecipeItemStack a = RecipeItemStack.a(new IMaterial[] { Items.FIREWORK_STAR});
+ // CraftBukkit start - Delegate to new parent class with bogus info
public RecipeFireworksFade(MinecraftKey minecraftkey) {
- super(minecraftkey);
+ super(minecraftkey, "", new ItemStack(Items.FIREWORK_STAR, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.FIREWORK_STAR, Items.BONE_MEAL)));
}
+ // CraftBukkit end
public boolean a(IInventory iinventory, World world) {
if (!(iinventory instanceof InventoryCrafting)) {
|