Fixed simultaneous compressed sieve usage not inserting new material into neighbor sieves
This commit is contained in:
parent
d8720840f3
commit
b16cb9c9d5
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user