Comma-separate plot area list again

This commit is contained in:
manuelgu 2016-03-30 15:25:25 +02:00
parent ea17ba8e46
commit 25dfc34695

View File

@ -33,12 +33,12 @@ public class Debug extends SubCommand {
PS.get().foreachPlotArea(new RunnableVal<PlotArea>() { PS.get().foreachPlotArea(new RunnableVal<PlotArea>() {
@Override @Override
public void run(PlotArea value) { public void run(PlotArea value) {
worlds.append(value.toString()).append(" "); worlds.append(value.toString()).append(", ");
} }
}); });
information.append(header); information.append(header);
information.append(getSection(section, "PlotArea")); information.append(getSection(section, "PlotArea"));
information.append(getLine(line, "Plot Worlds", worlds)); information.append(getLine(line, "Plot Worlds", worlds.substring(0, worlds.length() - 2)));
information.append(getLine(line, "Owned Plots", PS.get().getPlots().size())); information.append(getLine(line, "Owned Plots", PS.get().getPlots().size()));
information.append(getSection(section, "Messages")); information.append(getSection(section, "Messages"));
information.append(getLine(line, "Total Messages", C.values().length)); information.append(getLine(line, "Total Messages", C.values().length));