Merge pull request #34 from drpepper240/patch-1

shipscanner output fix
This commit is contained in:
Cr0s 2014-08-02 17:35:07 +04:00
commit ba6f35cce0

View file

@ -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