refactor: Remove debug print statements

feat/data-edit-commands
William 5 months ago
parent 332c71f041
commit 3d5395e5ae
No known key found for this signature in database

@ -189,7 +189,6 @@ public class MongoDbDatabase extends Database {
@Blocking @Blocking
@Override @Override
public Optional<DataSnapshot.Packed> getLatestSnapshot(@NotNull User user) { public Optional<DataSnapshot.Packed> getLatestSnapshot(@NotNull User user) {
System.out.println("Getting user latest snapshot " + user.getUsername());
try { try {
Document filter = new Document("player_uuid", user.getUuid()); Document filter = new Document("player_uuid", user.getUuid());
Document sort = new Document("timestamp", -1); // -1 = Descending Document sort = new Document("timestamp", -1); // -1 = Descending
@ -361,7 +360,6 @@ public class MongoDbDatabase extends Database {
@Blocking @Blocking
@Override @Override
protected void createSnapshot(@NotNull User user, @NotNull DataSnapshot.Packed data) { protected void createSnapshot(@NotNull User user, @NotNull DataSnapshot.Packed data) {
System.out.println("Creating user snapshot " + user.getUsername());
try { try {
Document doc = new Document("player_uuid", user.getUuid()) Document doc = new Document("player_uuid", user.getUuid())
.append("version_uuid", data.getId()) .append("version_uuid", data.getId())

Loading…
Cancel
Save