diff --git a/changelog.md b/changelog.md index 88994d2c..27019d1d 100644 --- a/changelog.md +++ b/changelog.md @@ -10,6 +10,7 @@ - Wildflowers now drops from Flint Mesh - Added new Sand sieve drops: - Dry Short Grass now drops from String Mesh +- Fixed Compressed Sieves not allowing simultaneous insertion of material even when Simultaneous Compressed Sieve Usage was enabled ## Ex Deorum 3.10 - Now requires KubeJS 7.2 to fix incompatibility (#158) diff --git a/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java b/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java index f5d45d94..f7f34080 100644 --- a/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java +++ b/src/main/java/thedarkcolour/exdeorum/blockentity/AbstractSieveBlockEntity.java @@ -67,7 +67,6 @@ public abstract class AbstractSieveBlockEntity extends EBlockEntity implements S return true; } - @SuppressWarnings("DataFlowIssue") @Override public ServerLevel getServerLevel() { return (ServerLevel) this.level; @@ -157,7 +156,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()) {