blob: f4020aca74b6a0fb5fd183e18cb9176e4028612f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/net/minecraft/server/RecipeBannerDuplicate.java
+++ b/net/minecraft/server/RecipeBannerDuplicate.java
@@ -1,10 +1,12 @@
package net.minecraft.server;
-public class RecipeBannerDuplicate extends IRecipeComplex {
+public class RecipeBannerDuplicate extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
+ // CraftBukkit start - Delegate to new parent class with bogus info
public RecipeBannerDuplicate(MinecraftKey minecraftkey) {
- super(minecraftkey);
+ super(minecraftkey, "", new ItemStack(Items.WHITE_BANNER, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.WHITE_BANNER)));
}
+ // CraftBukkit end
public boolean a(IInventory iinventory, World world) {
if (!(iinventory instanceof InventoryCrafting)) {
|