summaryrefslogtreecommitdiffstats
path: root/nms-patches/IRecipe.patch
blob: d4840d72a266285afadd5dd32bc32487060aa115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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
 }