Added autostart without computers
This commit is contained in:
parent
018d17be88
commit
f0ee218558
2 changed files with 16 additions and 0 deletions
|
@ -115,6 +115,14 @@ public class TileEntityLaserTreeFarm extends TileEntityAbstractMiner {
|
|||
delayTicks = 0;
|
||||
delayTargetTicks = TREE_FARM_WARMUP_DELAY_TICKS;
|
||||
updateMetadata(BlockLaserTreeFarm.ICON_IDLE);
|
||||
|
||||
// force start if no computer control is available
|
||||
if (!WarpDriveConfig.isComputerCraftLoaded && !WarpDriveConfig.isOpenComputersLoaded) {
|
||||
breakLeaves = true;
|
||||
enableSilktouch = false;
|
||||
tapTrees = true;
|
||||
start(null);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -76,6 +76,14 @@ public class TileEntityMiningLaser extends TileEntityAbstractMiner {
|
|||
delayTicksScan = 0;
|
||||
delayTicksMine = 0;
|
||||
updateMetadata(BlockMiningLaser.ICON_IDLE);
|
||||
|
||||
// force start if no computer control is available
|
||||
if (!WarpDriveConfig.isComputerCraftLoaded && !WarpDriveConfig.isOpenComputersLoaded) {
|
||||
enableSilktouch = false;
|
||||
layerOffset = 1;
|
||||
mineAllBlocks = true;
|
||||
start(null);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue