mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
15 lines
618 B
Diff
15 lines
618 B
Diff
@@ -1,8 +1,12 @@
|
|
package net.minecraft.server;
|
|
|
|
-class RecipesBannerInnerClass2 implements IRecipe {
|
|
+class RecipesBannerInnerClass2 extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
|
|
|
- private RecipesBannerInnerClass2() {}
|
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
|
+ private RecipesBannerInnerClass2() {
|
|
+ super(new ItemStack(Items.BANNER, 0, 0), java.util.Arrays.asList(new ItemStack(Items.DYE, 0, 5)));
|
|
+ }
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
boolean flag = false;
|