diff options
Diffstat (limited to 'nms-patches/IRecipe.patch')
-rw-r--r-- | nms-patches/IRecipe.patch | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/nms-patches/IRecipe.patch b/nms-patches/IRecipe.patch index bf22eb6d..d4840d72 100644 --- a/nms-patches/IRecipe.patch +++ b/nms-patches/IRecipe.patch @@ -1,9 +1,13 @@ --- a/net/minecraft/server/IRecipe.java +++ b/net/minecraft/server/IRecipe.java -@@ -11,4 +11,6 @@ - ItemStack b(); +@@ -28,7 +28,9 @@ + return ((MinecraftKey) CraftingManager.recipes.b(this)).a((MinecraftKey) CraftingManager.recipes.b(irecipe)); + } - NonNullList<ItemStack> b(InventoryCrafting inventorycrafting); +- public int compareTo(Object object) { ++ public int compareTo(IRecipe object) { // CraftBukkit = decompile error + return this.a((IRecipe) object); + } + -+ org.bukkit.inventory.Recipe toBukkitRecipe(); // CraftBukkit ++ public abstract org.bukkit.inventory.Recipe toBukkitRecipe(); // CraftBukkit } |