mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2025-03-14 22:39:55 -04:00
fix write to launcher_accounts.json (#827)
fix minecraftProfile id missing when writing new profile to launcher_accounts.json, causing yggdrasil to fail when authenticating session
This commit is contained in:
parent
7a2fee1b05
commit
9d6e3a9092
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ module.exports = async function (client, options) {
|
|||
const newProfileObj = {
|
||||
accessToken: session.accessToken,
|
||||
minecraftProfile: {
|
||||
id: session.selectedProfile.id,
|
||||
name: session.selectedProfile.name
|
||||
},
|
||||
userProperites: oldProfileObj ? (oldProfileObj.userProperites || []) : [],
|
||||
|
|
Loading…
Reference in a new issue