From bb0af7baada24c75bd7369cdd0064a626f48b0f0 Mon Sep 17 00:00:00 2001 From: drpepper240 Date: Sat, 2 Aug 2014 16:48:55 +0400 Subject: [PATCH] ShipScanner output fix --- src/cr0s/WarpDrive/TileEntityShipScanner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cr0s/WarpDrive/TileEntityShipScanner.java b/src/cr0s/WarpDrive/TileEntityShipScanner.java index 8a8096f0..0884c61f 100644 --- a/src/cr0s/WarpDrive/TileEntityShipScanner.java +++ b/src/cr0s/WarpDrive/TileEntityShipScanner.java @@ -505,7 +505,7 @@ public class TileEntityShipScanner extends TileEntity implements IEnergySink, // Check energy level if (!isEnoughEnergyForDeploy(size)) { - return new Object[] { 1, "Not enough energy! Need at least " + (Math.abs(size * EU_PER_BLOCK_DEPLOY - currentEnergyValue)) + " Eu" }; + return new Object[] { 1, "Not enough energy! Need at least " + MAX_ENERGY_VALUE + " Eu" }; } // Check specified area for occupation by blocks