Fixed simultaneous compressed sieve usage not inserting new material into neighbor sieves

This commit is contained in:
thedarkcolour 2026-05-15 14:28:09 -07:00
parent d8720840f3
commit b16cb9c9d5
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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()) {