Backport compressed sieve fix

This commit is contained in:
Jake Potrebic 2026-05-27 16:51:00 -07:00
parent 425ba948a4
commit c2f04c5c48
No known key found for this signature in database
GPG Key ID: ECE0B3C133C016C5

View File

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