Paper/nms-patches/IRecipe.patch

14 lines
482 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/IRecipe.java
+++ b/net/minecraft/server/IRecipe.java
2017-05-14 04:00:00 +02:00
@@ -28,7 +28,9 @@
return ((MinecraftKey) CraftingManager.recipes.b(this)).a((MinecraftKey) CraftingManager.recipes.b(irecipe));
}
2017-05-14 04:00:00 +02:00
- public int compareTo(Object object) {
+ public int compareTo(IRecipe object) { // CraftBukkit = decompile error
return this.a((IRecipe) object);
}
2015-02-26 23:41:06 +01:00
+
2017-05-14 04:00:00 +02:00
+ public abstract org.bukkit.inventory.Recipe toBukkitRecipe(); // CraftBukkit
}