Remove radar log spam

This commit is contained in:
LemADEC 2014-10-05 23:00:23 +02:00
parent f1e8f79959
commit 1b1a57a790
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ public class WarpCoresRegistry {
ArrayList<TileEntityReactor> res = new ArrayList<TileEntityReactor>(registry.size());
removeDeadCores();
printRegistry();
// printRegistry();
int radius2 = radius * radius;
for (TileEntityReactor core : registry) {
double dX = core.xCoord - x;

View file

@ -22,6 +22,7 @@ public class TileEntityRadar extends WarpEnergyTE {
private int cooldownTime = 0;
public TileEntityRadar() {
super();
peripheralName = "radar";
methodsArray = new String[] {
"scanRadius",
@ -43,9 +44,8 @@ public class TileEntityRadar extends WarpEnergyTE {
if (getBlockMetadata() == 2) {
cooldownTime++;
if (cooldownTime > (20 * ((scanRadius / 1000) + 1))) {
WarpDrive.debugPrint("" + this + " Scanning over " + scanRadius + " radius...");
results = WarpDrive.warpCores.searchWarpCoresInRadius(xCoord, yCoord, zCoord, scanRadius);
WarpDrive.debugPrint("" + this + " Scan found " + results.size() + " results");
// WarpDrive.debugPrint("" + this + " Scan found " + results.size() + " results in " + scanRadius + " radius...");
worldObj.setBlockMetadataWithNotify(xCoord, yCoord, zCoord, 1, 1 + 2);
cooldownTime = 0;
}