This commit is contained in:
modmuss50 2019-09-12 16:55:41 +01:00
parent 1cc56ed2e3
commit 8c9c736da9
13 changed files with 170 additions and 169 deletions

View file

@ -83,7 +83,7 @@ public class SolarPanelBlockEntity extends PowerAcceptorBlockEntity implements I
return;
}
if (world.getTime() % 20 == 0) {
canSeeSky = world.method_8626(pos.up());
canSeeSky = world.isSkyVisible(pos.up());
if (lastState != isSunOut()) {
world.setBlockState(pos, world.getBlockState(pos).with(BlockMachineBase.ACTIVE, isSunOut()));
lastState = isSunOut();

View file

@ -69,8 +69,8 @@ public class VacuumFreezerBlockEntity extends GenericMachineBlockEntity implemen
// BlockEntity
@Override
public void validate() {
super.validate();
public void cancelRemoval() {
super.cancelRemoval();
multiblockChecker = new MultiblockChecker(world, pos.down());
}