From 5b179fb0861f3691a6c6e44a53a05a875158a079 Mon Sep 17 00:00:00 2001 From: minecraft7771 Date: Sat, 12 Aug 2023 20:54:44 +0200 Subject: [PATCH] Reset catalyst item if unneeded --- .../multi/production/chemplant/GregtechMTE_ChemicalPlant.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java index c0b3e937db..dd0c981a8c 100644 --- a/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java +++ b/src/main/java/gtPlusPlus/xmod/gregtech/common/tileentities/machines/multi/production/chemplant/GregtechMTE_ChemicalPlant.java @@ -589,6 +589,8 @@ protected CheckRecipeResult validateRecipe(@NotNull GT_Recipe recipe) { if (catalystRecipe == null || mCatalystBuses.size() != 1) { return SimpleCheckRecipeResult.ofFailure("no_catalyst"); } + } else { + catalystRecipe = null; } // checks if it has enough catalyst durability