mirror of
https://github.com/PaperMC/Paper.git
synced 2024-09-12 15:08:27 +02:00
14 lines
482 B
Diff
14 lines
482 B
Diff
--- a/net/minecraft/server/IRecipe.java
|
|
+++ b/net/minecraft/server/IRecipe.java
|
|
@@ -28,7 +28,9 @@
|
|
return ((MinecraftKey) CraftingManager.recipes.b(this)).a((MinecraftKey) CraftingManager.recipes.b(irecipe));
|
|
}
|
|
|
|
- public int compareTo(Object object) {
|
|
+ public int compareTo(IRecipe object) { // CraftBukkit = decompile error
|
|
return this.a((IRecipe) object);
|
|
}
|
|
+
|
|
+ public abstract org.bukkit.inventory.Recipe toBukkitRecipe(); // CraftBukkit
|
|
}
|