From f71064a1e728768b9ca3c24e82efc12dc19f2243 Mon Sep 17 00:00:00 2001 From: reobf <2215595288@qq.com> Date: Sun, 2 Mar 2025 21:58:35 +0800 Subject: [PATCH] update --- .../main/mixin/mixins/MixinAwarenessForDualHatch.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/reobf/proghatches/main/mixin/mixins/MixinAwarenessForDualHatch.java b/src/main/java/reobf/proghatches/main/mixin/mixins/MixinAwarenessForDualHatch.java index 76a936d..d756d36 100644 --- a/src/main/java/reobf/proghatches/main/mixin/mixins/MixinAwarenessForDualHatch.java +++ b/src/main/java/reobf/proghatches/main/mixin/mixins/MixinAwarenessForDualHatch.java @@ -18,6 +18,7 @@ import gregtech.api.metatileentity.implementations.MTEMultiBlockBase; import gregtech.api.recipe.check.CheckRecipeResult; import gregtech.api.util.GTUtility; +import gregtech.api.util.ValidMTEList; import gregtech.common.tileentities.machines.IDualInputHatch; import reobf.proghatches.gt.metatileentity.util.IRecipeProcessingAwareDualHatch; @@ -99,7 +100,7 @@ public void startRecipeProcessing(CallbackInfo c) { @SuppressWarnings({ "unchecked", "rawtypes" }) - List l=(List)(List) GTUtility.validMTEList((List)(Object)(cast().mDualInputHatches)); + Iterable l=(Iterable)(Iterable) GTUtility.validMTEList((List)(Object)(cast().mDualInputHatches)); for (IDualInputHatch hatch:l) { if (hatch instanceof IRecipeProcessingAwareDualHatch) {