mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-29 13:42:56 +08:00
fix(database helper): fix player uid issues
This commit is contained in:
parent
bcee255554
commit
ce07f56f9d
@ -97,7 +97,7 @@ public final class DatabaseHelper {
|
||||
}
|
||||
|
||||
public static Account getAccountByPlayerId(int playerId) {
|
||||
return DatabaseManager.getGameDatastore().find(Account.class).filter(Filters.eq("playerId", playerId)).first();
|
||||
return DatabaseManager.getGameDatastore().find(Account.class).filter(Filters.eq("reservedPlayerId", playerId)).first();
|
||||
}
|
||||
|
||||
public static void deleteAccount(Account target) {
|
||||
|
Loading…
Reference in New Issue
Block a user