fix refreshing mojang account

This commit is contained in:
creeper123123321 2021-08-08 13:04:12 -03:00 committed by GitHub
parent a5f8cf74db
commit 57643283ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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