mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 03:37:38 +00:00
fix(database helper): fix player uid issues
This commit is contained in:
parent
9af10859bb
commit
c164b25f90
@ -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