From 6bb0db5cb7eee3b5a7cd91e834fecac13fe79c35 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 27 Oct 2024 07:40:05 +1100 Subject: [PATCH] SPIGOT-7928: ExactChoice acts as MaterialChoice --- .../net/minecraft/world/item/crafting/RecipeItemStack.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nms-patches/net/minecraft/world/item/crafting/RecipeItemStack.patch b/nms-patches/net/minecraft/world/item/crafting/RecipeItemStack.patch index 631969511..207242eaf 100644 --- a/nms-patches/net/minecraft/world/item/crafting/RecipeItemStack.patch +++ b/nms-patches/net/minecraft/world/item/crafting/RecipeItemStack.patch @@ -25,7 +25,7 @@ private RecipeItemStack(HolderSet holderset) { holderset.unwrap().ifRight((list) -> { -@@ -72,6 +90,15 @@ +@@ -72,6 +90,17 @@ } public boolean test(ItemStack itemstack) { @@ -36,12 +36,14 @@ + return true; + } + } ++ ++ return false; + } + // CraftBukkit end List> list = this.items(); for (int i = 0; i < list.size(); ++i) { -@@ -85,7 +112,7 @@ +@@ -85,7 +114,7 @@ public boolean equals(Object object) { if (object instanceof RecipeItemStack recipeitemstack) {