Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-21 05:50:05 +01:00
90ac03522a
This reverts commit d6e3dff7d8
.
18 Zeilen
845 B
Diff
18 Zeilen
845 B
Diff
--- ../work/decompile-8eb82bde//net/minecraft/server/RecipesBannerInnerClass1.java 2014-11-28 17:43:43.357707429 +0000
|
|
+++ src/main/java/net/minecraft/server/RecipesBannerInnerClass1.java 2014-11-28 17:38:17.000000000 +0000
|
|
@@ -1,8 +1,12 @@
|
|
package net.minecraft.server;
|
|
|
|
-class RecipesBannerInnerClass1 implements IRecipe {
|
|
+class RecipesBannerInnerClass1 extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
|
|
|
- private RecipesBannerInnerClass1() {}
|
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
|
+ private RecipesBannerInnerClass1() {
|
|
+ super(new ItemStack(Items.BANNER, 0, 0), java.util.Arrays.asList(new ItemStack(Items.BANNER)));
|
|
+ }
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
ItemStack itemstack = null;
|