mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
19 lines
734 B
Diff
19 lines
734 B
Diff
|
--- a/net/minecraft/server/RecipiesShield.java
|
||
|
+++ b/net/minecraft/server/RecipiesShield.java
|
||
|
@@ -11,9 +11,13 @@
|
||
|
|
||
|
static class SyntheticClass_1 { }
|
||
|
|
||
|
- static class Decoration implements IRecipe {
|
||
|
+ static class Decoration extends ShapelessRecipes implements IRecipe { // CraftBukkit - added extends
|
||
|
|
||
|
- private Decoration() {}
|
||
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||
|
+ private Decoration() {
|
||
|
+ super(new ItemStack(Items.SHIELD, 0 ,0), java.util.Arrays.asList(new ItemStack(Items.BANNER, 0, 0)));
|
||
|
+ }
|
||
|
+ // CraftBukkit end
|
||
|
|
||
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
||
|
ItemStack itemstack = null;
|