Make Player lazyload correct Account (should fix #1900)

This commit is contained in:
AnimeGitB 2022-10-25 18:31:55 +10:30
parent a5579368bb
commit a2c4895c16

View File

@ -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;
}