From 57643283ec630aa8538c059d874e021274fbfb8f Mon Sep 17 00:00:00 2001 From: creeper123123321 <7974274+creeper123123321@users.noreply.github.com> Date: Sun, 8 Aug 2021 13:04:12 -0300 Subject: [PATCH] fix refreshing mojang account --- src/main/resources/web/js/account_manager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}