Make laser digging require constant illumination.

This commit is contained in:
Ben Spiers 2014-09-16 02:29:00 +01:00
parent c12c54f9bf
commit 71f6d4b8d3
3 changed files with 3 additions and 0 deletions

View file

@ -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));
}
}

View file

@ -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));
}
}

View file

@ -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));
}
}