Added coils check in onLoad. Closes #1337
This commit is contained in:
parent
5f2ddec821
commit
5bfe649360
1 changed files with 5 additions and 0 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue