From 10ab8b114d2f1765773fd0a122af3bbf109fba29 Mon Sep 17 00:00:00 2001 From: Fireblade <3+fireblade@noreply.neolegacy.dev> Date: Sat, 18 Jul 2026 23:02:35 -0400 Subject: [PATCH] fix: shapeless recipies not accounting for duplicate crafting items --- Minecraft.World/ShapelessRecipy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Minecraft.World/ShapelessRecipy.cpp b/Minecraft.World/ShapelessRecipy.cpp index 3bf24ad7..110b408c 100644 --- a/Minecraft.World/ShapelessRecipy.cpp +++ b/Minecraft.World/ShapelessRecipy.cpp @@ -57,7 +57,7 @@ bool ShapelessRecipy::matches(shared_ptr craftSlots, Level *l bool found = false; auto citEnd = ingredients->end(); - for ( ItemInstance *ingredient : *ingredients ) + for ( ItemInstance *ingredient : tempList ) { if (item->id == ingredient->id && (ingredient->getAuxValue() == Recipes::ANY_AUX_VALUE || item->getAuxValue() == ingredient->getAuxValue())) {