fix: shapeless recipies not accounting for duplicate crafting items

This commit is contained in:
Fireblade
2026-07-18 23:02:35 -04:00
parent 7e06e44f80
commit 10ab8b114d
+1 -1
View File
@@ -57,7 +57,7 @@ bool ShapelessRecipy::matches(shared_ptr<CraftingContainer> 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()))
{