From 3d5395e5aee0be160349f34b044bfd56fb0c3226 Mon Sep 17 00:00:00 2001 From: William Date: Sat, 15 Jun 2024 18:16:56 +0100 Subject: [PATCH] refactor: Remove debug print statements --- .../java/net/william278/husksync/database/MongoDbDatabase.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java b/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java index b8aea093..d935a82f 100644 --- a/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java +++ b/common/src/main/java/net/william278/husksync/database/MongoDbDatabase.java @@ -189,7 +189,6 @@ public class MongoDbDatabase extends Database { @Blocking @Override public Optional getLatestSnapshot(@NotNull User user) { - System.out.println("Getting user latest snapshot " + user.getUsername()); try { Document filter = new Document("player_uuid", user.getUuid()); Document sort = new Document("timestamp", -1); // -1 = Descending @@ -361,7 +360,6 @@ public class MongoDbDatabase extends Database { @Blocking @Override protected void createSnapshot(@NotNull User user, @NotNull DataSnapshot.Packed data) { - System.out.println("Creating user snapshot " + user.getUsername()); try { Document doc = new Document("player_uuid", user.getUuid()) .append("version_uuid", data.getId())