3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00
Paper/nms-patches/IRecipe.patch

14 Zeilen
482 B
Diff

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
}