mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-24 18:17:53 +01:00
Save world name when session is saved (temporarily) - fix
This commit is contained in:
parent
b3d9efc502
commit
4805498e41
@ -142,7 +142,7 @@ public class DataStoreQueries {
|
||||
// TODO Remove usage after WorldChange event stores world names in its own transaction
|
||||
private static Executable storeWorldName(UUID serverUUID, String worldName) {
|
||||
return connection -> {
|
||||
if (doesWorldNameExist(connection, serverUUID, worldName)) {
|
||||
if (!doesWorldNameExist(connection, serverUUID, worldName)) {
|
||||
return insertWorldName(serverUUID, worldName).execute(connection);
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user