diff --git a/src/main/resources/web/js/account_manager.js b/src/main/resources/web/js/account_manager.js index 1b8ed39..a3459b1 100644 --- a/src/main/resources/web/js/account_manager.js +++ b/src/main/resources/web/js/account_manager.js @@ -131,7 +131,7 @@ export class MojangAccount extends McAccount { this.accessToken = json.accessToken; this.clientToken = json.clientToken; this.name = json.selectedProfile.name; - this.id = json.id; + this.id = json.selectedProfile.id; saveRefreshAccounts(); }); } @@ -301,4 +301,4 @@ function getTokenPopup(username, request) { console.warn(error); } }); -} \ No newline at end of file +}