summaryrefslogtreecommitdiffstats
path: root/nms-patches/IRecipe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/IRecipe.patch')
-rw-r--r--nms-patches/IRecipe.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/IRecipe.patch b/nms-patches/IRecipe.patch
index 48c1ebc4..844b91e7 100644
--- a/nms-patches/IRecipe.patch
+++ b/nms-patches/IRecipe.patch
@@ -12,8 +12,8 @@
}
public int a(IRecipe irecipe) {
-- return ((MinecraftKey) CraftingManager.recipes.b(this)).a((MinecraftKey) CraftingManager.recipes.b(irecipe));
-+ return this.key.a(irecipe.key); // CraftBukkit
+- return ((MinecraftKey) CraftingManager.recipes.b(this)).toString().compareTo(((MinecraftKey) CraftingManager.recipes.b(irecipe)).toString());
++ return this.key.toString().compareTo(irecipe.key.toString()); // CraftBukkit
}
- public int compareTo(Object object) {