Remove block dump

This commit is contained in:
Mike Primm 2020-05-16 16:26:54 -05:00
parent f151cdc84f
commit ee8c919eda

View File

@ -569,19 +569,19 @@ public class DynmapCore implements DynmapCommonAPI {
//dumpColorMap("misa.txt", "misa.zip");
//dumpColorMap("sphax.txt", "sphax.zip");
Log.info("Block Name dump");
Log.info("---------------");
for (int i = 0; i < DynmapBlockState.getGlobalIndexMax(); ) {
DynmapBlockState bs = DynmapBlockState.getStateByGlobalIndex(i);
if (bs != null) {
Log.info(String.format("%d,%s,%d", i, bs.blockName, bs.getStateCount()));
i += bs.getStateCount();
}
else {
i++;
}
}
Log.info("---------------");
// Log.info("Block Name dump");
// Log.info("---------------");
// for (int i = 0; i < DynmapBlockState.getGlobalIndexMax(); ) {
// DynmapBlockState bs = DynmapBlockState.getStateByGlobalIndex(i);
// if (bs != null) {
// Log.info(String.format("%d,%s,%d", i, bs.blockName, bs.getStateCount()));
// i += bs.getStateCount();
// }
// else {
// i++;
// }
// }
// Log.info("---------------");
return true;
}