fix shift-clicking records not actually clearing them
This commit is contained in:
parent
07bd9cba65
commit
ba6d60f84b
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ public class BlockEntityAkashicRecord extends PaucalBlockEntity {
|
|||
var bs = this.level.getBlockState(neighbor);
|
||||
if (BlockAkashicFloodfiller.canItBeFloodedThrough(neighbor, bs, this.level)) {
|
||||
todo.add(neighbor);
|
||||
if (this.level.getBlockEntity(neighbor) instanceof BlockEntityAkashicBookshelf)
|
||||
if (this.level.getBlockEntity(neighbor) instanceof BlockEntityAkashicBookshelf &&
|
||||
bs.hasProperty(BlockAkashicBookshelf.DATUM_TYPE) &&
|
||||
bs.getValue(BlockAkashicBookshelf.DATUM_TYPE) != DatumType.EMPTY)
|
||||
validPoses.add(neighbor);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue