I did a stupid

This commit is contained in:
DarkholmeTenk 2014-02-18 04:55:18 +00:00
parent 594f915a86
commit 6f35468267

View file

@ -702,7 +702,7 @@ public class TileEntityMiningLaser extends TileEntity implements IPeripheral, IG
{ {
try try
{ {
Double arg = Double.parseDouble(arguments[1].toString()); Double arg = Double.parseDouble(arguments[0].toString());
speedMul = Math.min(WarpDriveConfig.i.ML_MAX_SPEED,Math.max(arg,WarpDriveConfig.i.ML_MIN_SPEED)); speedMul = Math.min(WarpDriveConfig.i.ML_MAX_SPEED,Math.max(arg,WarpDriveConfig.i.ML_MIN_SPEED));
} }
catch(NumberFormatException e) catch(NumberFormatException e)