mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
a419776f3c
For more information please see http://www.spigotmc.org/ By: Thinkofdeath <thinkofdeath@spigotmc.org>
17 lines
841 B
Diff
17 lines
841 B
Diff
--- ../work/decompile-bb26c12b/net/minecraft/server/RecipesBannerInnerClass2.java 2014-11-27 08:59:46.881421054 +1100
|
|
+++ src/main/java/net/minecraft/server/RecipesBannerInnerClass2.java 2014-11-27 08:42:10.164850887 +1100
|
|
@@ -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;
|