Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
90ac03522a
This reverts commit d6e3dff7d8
.
22 Zeilen
876 B
Diff
22 Zeilen
876 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/RecipeFireworks.java 2014-11-28 17:43:43.349707429 +0000
|
|
+++ src/main/java/net/minecraft/server/RecipeFireworks.java 2014-11-28 17:38:17.000000000 +0000
|
|
@@ -3,11 +3,15 @@
|
|
import com.google.common.collect.Lists;
|
|
import java.util.ArrayList;
|
|
|
|
-public class RecipeFireworks implements IRecipe {
|
|
+public class RecipeFireworks extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
|
|
|
private ItemStack a;
|
|
-
|
|
- public RecipeFireworks() {}
|
|
+
|
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
|
+ public RecipeFireworks() {
|
|
+ super(new ItemStack(Items.FIREWORKS, 0, 0), java.util.Arrays.asList(new ItemStack(Items.GUNPOWDER, 0, 5)));
|
|
+ }
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
this.a = null;
|