13
0
geforkt von Mirrors/Paper
Paper/nms-patches/IRecipe.patch
2017-05-14 12:00:00 +10:00

14 Zeilen
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
}