Added coils check in onLoad. Closes #1337

This commit is contained in:
drcrazy 2017-11-08 03:16:51 +03:00
parent 5f2ddec821
commit 5bfe649360

View file

@ -169,6 +169,11 @@ public class TileFusionControlComputer extends TilePowerAcceptor implements IToo
private boolean isCoil(final int x, final int y, final int z) {
return this.world.getBlockState(new BlockPos(x, y, z)).getBlock() == ModBlocks.FUSION_COIL;
}
@Override
public void onLoad() {
this.checkCoils();
}
@Override
public void update() {