aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/gregtech/api/logic/ProcessingLogic.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/logic/ProcessingLogic.java b/src/main/java/gregtech/api/logic/ProcessingLogic.java
index 8a902e4fb5..894bd3f946 100644
--- a/src/main/java/gregtech/api/logic/ProcessingLogic.java
+++ b/src/main/java/gregtech/api/logic/ProcessingLogic.java
@@ -30,6 +30,7 @@ public class ProcessingLogic {
protected IRecipeLockable recipeLockableMachine;
protected Supplier<GT_Recipe_Map> recipeMapSupplier;
protected GT_Recipe lastRecipe;
+ protected GT_Recipe_Map lastRecipeMap;
protected ItemStack specialSlotItem;
protected ItemStack[] inputItems;
protected ItemStack[] outputItems;
@@ -256,6 +257,10 @@ public class ProcessingLogic {
} else {
recipeMap = recipeMapSupplier.get();
}
+ if (lastRecipeMap != recipeMap) {
+ lastRecipe = null;
+ lastRecipeMap = recipeMap;
+ }
if (maxParallelSupplier != null) {
maxParallel = maxParallelSupplier.get();