mirror of
https://github.com/OvercastNetwork/ProjectAres.git
synced 2025-04-11 22:56:08 +02:00
edit playerversion logging
This commit is contained in:
parent
52c82a81e7
commit
57024064ed
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user