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())) {