From 6737d52c10b51db0c2e1cc73ea6e818ee8ce3613 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 17 Nov 2023 10:18:41 +0700 Subject: [PATCH] Update previous commit --- .../kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt index 39e139b7a..8aa89b1a0 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/matter/MatterManager.kt @@ -862,7 +862,12 @@ object MatterManager { if (recipes.size == 1 && entry.input.item == recipe.output.item) { // assume cloning and/or catalyst? comment(item, TextComponent("Input $entry at input slot $i is assumed to be cloning/catalyst")) - continue@innerInputsLoop + + if (inputs.size == 1) { + continue@inputsLoop + } else { + continue@innerInputsLoop + } } else { comment(item, TextComponent("Input $entry at input slot $i in ${recipe.formattedName} is recursive")) recursiveSkips.add(entry)