mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
fix refreshing mojang account
This commit is contained in:
parent
a5f8cf74db
commit
57643283ec
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user