edit playerversion logging

This commit is contained in:
cswhite2000 2017-07-11 14:56:52 -07:00
parent 52c82a81e7
commit 57024064ed
1 changed files with 2 additions and 2 deletions

View File

@ -54,11 +54,11 @@ public class PlayerVersionLogger implements PluginFacet {
});
StringBuilder builder = new StringBuilder();
builder.append("['").append(new SimpleDateFormat("dd/MM/yyyy HH:mm").format(new Date())).append("'");
builder.append("[").append(new Date().getTime());
playerCountVersionMap.entrySet().stream()
.sorted(Comparator.comparingInt(e -> Integer.parseInt(e.getKey().split("\\.")[1])))
.forEach( entry -> builder.append(", '").append(entry.getValue()).append("'"));
.forEach( entry -> builder.append(", ").append(entry.getValue()));
builder.append("]\n");
try {