save the player in the database again when the player leaves the server

master
Alex 2022-04-05 20:46:06 +02:00
parent 88c35ce447
commit 1d7b2eea06
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ public class PlayerDisconnectListener implements Listener {
}
}); */
Bson updates = Updates.combine(Updates.currentTimestamp("lastUpdated"));
Bson updates = Updates.combine(Updates.set("voiceWebCode", "arxvdpfJ"));
UpdateOptions options = new UpdateOptions().upsert(true);