Commit a2c4895c authored by AnimeGitB's avatar AnimeGitB
Browse files

Make Player lazyload correct Account (should fix #1900)

parent a5579368
...@@ -314,7 +314,7 @@ public class Player { ...@@ -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;
} }
......
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