Fixed radar with CC
Fixed console spam with radar
This commit is contained in:
parent
6fc8f4e358
commit
b1395d3bb7
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,9 @@ public class TileEntityRadar extends TileEntityAbstractEnergy {
|
|||
peripheralName = "warpdriveRadar";
|
||||
addMethods(new String[] {
|
||||
"radius",
|
||||
"getEnergyRequired",
|
||||
"start",
|
||||
"getScanDuration",
|
||||
"getResultsCount",
|
||||
"getResult"
|
||||
});
|
||||
|
@ -187,7 +189,9 @@ public class TileEntityRadar extends TileEntityAbstractEnergy {
|
|||
if (getBlockMetadata() != 2) {
|
||||
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 2, 1 + 2);
|
||||
}
|
||||
WarpDrive.logger.info("!!! Starting scan over radius " + scanningRadius + " for " + energyRequired + " EU, results expected in " + scanningDuration_ticks + " ticks");
|
||||
if (WarpDriveConfig.LOGGING_RADAR) {
|
||||
WarpDrive.logger.info(this + "Starting scan over radius " + scanningRadius + " for " + energyRequired + " EU, results expected in " + scanningDuration_ticks + " ticks");
|
||||
}
|
||||
return new Object[] { true };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue