diff options
author | md_5 <git@md-5.net> | 2017-05-14 12:00:00 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-14 12:00:00 +1000 |
commit | 5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5 (patch) | |
tree | 0314ba59f51141bb5e0e7ff6ca7723d168ac94b9 /nms-patches/IRecipe.patch | |
parent | 6e3cec8bc78269d72ef7ef49ce82a5eadfb9615a (diff) | |
download | craftbukkit-5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5.tar craftbukkit-5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5.tar.gz craftbukkit-5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5.tar.lz craftbukkit-5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5.tar.xz craftbukkit-5195487ec6c01a80e3a2fca8c4acfc6b9524fcf5.zip |
Update to Minecraft 1.12-pre2
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 } |