Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
21 Zeilen
893 B
Diff
21 Zeilen
893 B
Diff
--- a/net/minecraft/server/RecipeFireworksFade.java
|
|
+++ b/net/minecraft/server/RecipeFireworksFade.java
|
|
@@ -3,13 +3,15 @@
|
|
import com.google.common.collect.Lists;
|
|
import java.util.List;
|
|
|
|
-public class RecipeFireworksFade extends IRecipeComplex {
|
|
+public class RecipeFireworksFade extends ShapelessRecipes { // CraftBukkit - added extends
|
|
|
|
private static final RecipeItemStack a = RecipeItemStack.a(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), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.FIREWORK_STAR, Items.BONE_MEAL)));
|
|
}
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
boolean flag = false;
|