Make laser digging require constant illumination.
This commit is contained in:
parent
c12c54f9bf
commit
71f6d4b8d3
3 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,7 @@ public class TileEntityLaser extends TileEntityElectricBlock
|
|||
else if(on)
|
||||
{
|
||||
on = false;
|
||||
diggingProgress = 0;
|
||||
Mekanism.packetHandler.sendToAllAround(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), Coord4D.get(this).getTargetPoint(50D));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -124,6 +124,7 @@ public class TileEntityLaserAmplifier extends TileEntityContainerBlock implement
|
|||
else if(on)
|
||||
{
|
||||
on = false;
|
||||
diggingProgress = 0;
|
||||
Mekanism.packetHandler.sendToAllAround(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), Coord4D.get(this).getTargetPoint(50D));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -112,6 +112,7 @@ public class TileEntityLaserTractorBeam extends TileEntityContainerBlock impleme
|
|||
else if(on)
|
||||
{
|
||||
on = false;
|
||||
diggingProgress = 0;
|
||||
Mekanism.packetHandler.sendToAllAround(new TileEntityMessage(Coord4D.get(this), getNetworkedData(new ArrayList())), Coord4D.get(this).getTargetPoint(50D));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue