Fix essentia patterns being marked as type mismatch (#1485)

This commit is contained in:
Eldrinn-Elantey authored and GitHub committed 2026-08-08 14:30:48 +07:00
1 parent 7bbd982a65
commit bb7d0d4f20
1 file changed
+2 -2
@@ -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() {