mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
19 lines
773 B
Diff
19 lines
773 B
Diff
--- a/net/minecraft/server/RecipeArmorDye.java
|
|
+++ b/net/minecraft/server/RecipeArmorDye.java
|
|
@@ -3,11 +3,13 @@
|
|
import com.google.common.collect.Lists;
|
|
import java.util.List;
|
|
|
|
-public class RecipeArmorDye extends IRecipeComplex {
|
|
+public class RecipeArmorDye extends ShapelessRecipes { // CraftBukkit - added extends
|
|
|
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
|
public RecipeArmorDye(MinecraftKey minecraftkey) {
|
|
- super(minecraftkey);
|
|
+ super(minecraftkey, "", new ItemStack(Items.LEATHER_HELMET), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BONE_MEAL)));
|
|
}
|
|
+ // CraftBukkit end
|
|
|
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
|
ItemStack itemstack = ItemStack.a;
|