//distr now indicates the block IDs.

Dieser Commit ist enthalten in:
sk89q 2010-11-24 10:41:10 -08:00
Ursprung 493ec4818d
Commit 860de6b517

Datei anzeigen

@ -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.");