mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
40c8954e17
By: md_5 <git@md-5.net>
13 lines
482 B
Diff
13 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
|
|
}
|