From f307282c67a48121b59676805ebb1f065c8a9854 Mon Sep 17 00:00:00 2001 From: DarkholmeTenk Date: Mon, 17 Feb 2014 21:34:54 +0000 Subject: [PATCH] Mining laser changes Made it so the mining laser doesn't need a direct shaft down to mine. --- src/cr0s/WarpDrive/TileEntityMiningLaser.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cr0s/WarpDrive/TileEntityMiningLaser.java b/src/cr0s/WarpDrive/TileEntityMiningLaser.java index 6f7e27f7..327b97b8 100644 --- a/src/cr0s/WarpDrive/TileEntityMiningLaser.java +++ b/src/cr0s/WarpDrive/TileEntityMiningLaser.java @@ -127,12 +127,13 @@ public class TileEntityMiningLaser extends TileEntity implements IPeripheral, IG { if (!collectEnergyPacketFromBooster(isOnEarth ? WarpDriveConfig.i.ML_EU_PER_LAYER_EARTH : WarpDriveConfig.i.ML_EU_PER_LAYER_SPACE, false)) return; + /* sendLaserPacket(minerVector, new Vector3(xCoord, currentLayer, zCoord).add(0.5), 0, 0, 1, 20, 0, 50); worldObj.playSoundEffect(xCoord + 0.5f, yCoord, zCoord + 0.5f, "warpdrive:hilaser", 4F, 1F); int blockID = worldObj.getBlockId(xCoord, currentLayer, zCoord); if (blockID != 0) if (canDig(blockID)) - harvestBlock(new Vector3(xCoord, currentLayer, zCoord)); + harvestBlock(new Vector3(xCoord, currentLayer, zCoord));*/ currentMode = 1; return; }