mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +01:00
Remove block dump
This commit is contained in:
parent
f151cdc84f
commit
ee8c919eda
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user