From fda926849075cffa597c481858ce6f2122f0bd98 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Sat, 30 May 2026 10:04:47 -0700 Subject: [PATCH] Merge pull request #182 from Machine-Maker/fix/1.21.1-compressed-sieve Backport compressed sieve fix --- .../exdeorum/blockentity/AbstractSieveBlockEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java b/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java index ee0247eb..608d49ea 100644 --- a/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java +++ b/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java @@ -160,7 +160,7 @@ public abstract class AbstractSieveBlockEntity extends EBlockEntity implements S } if ((x | z) != 0) { - if (level.getBlockEntity(cursor) instanceof SieveBlockEntity other) { + if (level.getBlockEntity(cursor) instanceof AbstractSieveBlockEntity other && other.getType() == getType()) { var otherLogic = other.logic; if (otherLogic.getContents().isEmpty()) {