mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-03-11 09:57:26 +08:00
Make Player lazyload correct Account (should fix #1900)
This commit is contained in:
parent
a5579368bb
commit
a2c4895c16
@ -314,7 +314,7 @@ public class Player {
|
|||||||
|
|
||||||
public Account getAccount() {
|
public Account getAccount() {
|
||||||
if (this.account == null)
|
if (this.account == null)
|
||||||
this.account = DatabaseHelper.getAccountById(Integer.toString(this.id));
|
this.account = DatabaseHelper.getAccountById(this.accountId);
|
||||||
return this.account;
|
return this.account;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user