//distr now indicates the block IDs.

This commit is contained in:
sk89q 2010-11-24 10:41:10 -08:00
parent 493ec4818d
commit 860de6b517

View File

@ -912,10 +912,10 @@ public class WorldEditListener extends PluginListener {
player.print("# total blocks: " + size);
for (Countable<Integer> c : distribution) {
player.print(String.format("%-7s (%.3f%%) %s",
player.print(String.format("%-7s (%.3f%%) %s #%d",
String.valueOf(c.getAmount()),
c.getAmount() / (double)size * 100,
BlockType.fromID(c.getID()).getName()));
BlockType.fromID(c.getID()).getName(), c.getID()));
}
} else {
player.printError("No blocks counted.");