From bb7d0d4f2001a694f44ddb8355dc88a2c262e549 Mon Sep 17 00:00:00 2001 From: Eldrinn-Elantey <46845681+Eldrinn-Elantey@users.noreply.github.com> Date: Sat, 8 Aug 2026 11:30:48 +0400 Subject: [PATCH] Fix essentia patterns being marked as type mismatch (#1485) --- src/main/java/appeng/helpers/DualityInterface.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/appeng/helpers/DualityInterface.java b/src/main/java/appeng/helpers/DualityInterface.java index cb8b84dfc..68688d6cf 100644 --- a/src/main/java/appeng/helpers/DualityInterface.java +++ b/src/main/java/appeng/helpers/DualityInterface.java @@ -560,8 +560,8 @@ public class DualityInterface implements IGridTickable, IStorageMonitorable, IIn } public IAEStackType[] getSupportedStackTypes() { - return this.isFluidInterface ? new IAEStackType[] { ITEM_STACK_TYPE, FLUID_STACK_TYPE } - : new IAEStackType[] { ITEM_STACK_TYPE }; + return AEStackTypeRegistry.getSortedTypes().stream() + .filter(type -> this.isFluidInterface || type != FLUID_STACK_TYPE).toArray(IAEStackType[]::new); } public AppEngInternalInventory getUpgrades() {