Remove logging

This commit is contained in:
Mike Primm 2021-07-25 21:19:21 -05:00
parent fbad9a746a
commit d77a9c76da
2 changed files with 9 additions and 9 deletions

View File

@ -1391,18 +1391,18 @@ public class DynmapPlugin
Biome[] list = getBiomeList();
for(int i = 0; i < list.length; i++) {
for (int i = 0; i < list.length; i++) {
Biome bb = list[i];
if(bb != null) {
if (bb != null) {
String id = bb.toString();
float tmp = bb.getBaseTemperature(), hum = bb.getDownfall();
int watermult = bb.getWaterColor() | 0xFF000000;
Log.info("biome[" + i + "]: hum=" + hum + ", tmp=" + tmp + ", mult=" + Integer.toHexString(watermult));
int watermult = bb.getWaterColor();
Log.verboseinfo("biome[" + i + "]: hum=" + hum + ", tmp=" + tmp + ", mult=" + Integer.toHexString(watermult));
BiomeMap bmap = BiomeMap.byBiomeID(i);
if (bmap.isDefault()) {
bmap = new BiomeMap(i, id, tmp, hum);
Log.info("Add custom biome [" + bmap.toString() + "] (" + i + ")");
Log.verboseinfo("Add custom biome [" + bmap.toString() + "] (" + i + ")");
cnt++;
}
else {
@ -1411,7 +1411,7 @@ public class DynmapPlugin
}
if (watermult != -1) {
bmap.setWaterColorMultiplier(watermult);
Log.info("Set watercolormult for " + bmap.toString() + " (" + i + ") to " + Integer.toHexString(watermult));
Log.verboseinfo("Set watercolormult for " + bmap.toString() + " (" + i + ") to " + Integer.toHexString(watermult));
}
}
}

View File

@ -18,7 +18,7 @@ import org.dynmap.DynmapLocation;
import org.dynmap.DynmapWorld;
import org.dynmap.utils.MapChunkCache;
import org.dynmap.utils.Polygon;
import org.dynmap.Log;
//import org.dynmap.Log;
public class ForgeWorld extends DynmapWorld
{
@ -81,7 +81,7 @@ public class ForgeWorld extends DynmapWorld
{
env = "normal";
}
Log.info(getName() + ": skylight=" + skylight + ", height=" + this.worldheight + ", isnether=" + isnether + ", istheend=" + istheend);
//Log.info(getName() + ": skylight=" + skylight + ", height=" + this.worldheight + ", isnether=" + isnether + ", istheend=" + istheend);
}
/* Test if world is nether */
@Override
@ -154,7 +154,7 @@ public class ForgeWorld extends DynmapWorld
for (int i = 0; i < 16; i++) {
float light = w.getLevel().dimensionType().brightness(i);
this.setBrightnessTableEntry(i, light);
Log.info(getName() + ": light " + i + " = " + light);
//Log.info(getName() + ": light " + i + " = " + light);
}
}
/* Get light level of block */