Merge pull request #182 from Machine-Maker/fix/1.21.1-compressed-sieve

Backport compressed sieve fix
This commit is contained in:
Jake Potrebic 2026-05-30 10:04:47 -07:00 committed by GitHub
parent 425ba948a4
commit fda9268490
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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