Improved logging for debug

This commit is contained in:
auto committed 2022-05-30 05:59:15 +02:00
1 parent 25a9eb1f58
commit 24ac456c17
2 files changed
+4 -4

No files matched your search

@@ -54,10 +54,10 @@ public class EconUser {
public void syncPoints() {
if (Config.DEBUG)
Logger.info("Saving points EconUser % currently at % points",
Logger.info("Saving points EconUser % currently has the following points:\n%",
uuid.toString(), getPointsMap().object2ObjectEntrySet().stream()
.map(entry -> entry.getKey() + " - " + entry.getValue().toString())
.collect(Collectors.joining()));
.collect(Collectors.joining("\n")));
new BukkitRunnable() {
@Override
public void run() {