Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-23 23:00:08 +01:00
18 Zeilen
755 B
Diff
18 Zeilen
755 B
Diff
|
--- a/net/minecraft/server/RecipeSuspiciousStew.java
|
||
|
+++ b/net/minecraft/server/RecipeSuspiciousStew.java
|
||
|
@@ -1,10 +1,12 @@
|
||
|
package net.minecraft.server;
|
||
|
|
||
|
-public class RecipeSuspiciousStew extends IRecipeComplex {
|
||
|
+public class RecipeSuspiciousStew extends ShapelessRecipes { // CraftBukkit - added extends
|
||
|
|
||
|
+ // CraftBukkit start - Delegate to new parent class with bogus info
|
||
|
public RecipeSuspiciousStew(MinecraftKey minecraftkey) {
|
||
|
- super(minecraftkey);
|
||
|
+ super(minecraftkey, "", new ItemStack(Items.SUSPICIOUS_STEW, 0), NonNullList.a(RecipeItemStack.a, RecipeItemStack.a(Items.BOWL)));
|
||
|
}
|
||
|
+ // CraftBukkit end
|
||
|
|
||
|
public boolean a(InventoryCrafting inventorycrafting, World world) {
|
||
|
boolean flag = false;
|