mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-13 07:25:08 +01:00
Make Player lazyload correct Account (should fix #1900)
This commit is contained in:
@@ -314,7 +314,7 @@ public class Player {
|
||||
|
||||
public Account getAccount() {
|
||||
if (this.account == null)
|
||||
this.account = DatabaseHelper.getAccountById(Integer.toString(this.id));
|
||||
this.account = DatabaseHelper.getAccountById(this.accountId);
|
||||
return this.account;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user