Commit c164b25f authored by Yazawazi's avatar Yazawazi Committed by Melledy
Browse files

fix(database helper): fix player uid issues

parent 9af10859
...@@ -97,7 +97,7 @@ public final class DatabaseHelper { ...@@ -97,7 +97,7 @@ public final class DatabaseHelper {
} }
public static Account getAccountByPlayerId(int playerId) { 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) { public static void deleteAccount(Account target) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment