woops, change json parse down here to

This commit is contained in:
Pierce 2019-03-10 21:29:42 -04:00
parent a2e166dfe1
commit 8e3d6751ae
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ function refreshAuth(accessToken, clientToken, selectedProfile) {
client_token: uuid(), client_token: uuid(),
uuid: body.selectedProfile.id, uuid: body.selectedProfile.id,
name: body.selectedProfile.name, name: body.selectedProfile.name,
user_properties: JSON.stringify((body.user || {}).properties || {}) user_properties: JSON.stringify(body.user.properties || {})
}; };
resolve(userProfile); resolve(userProfile);

View file

@ -1,6 +1,6 @@
{ {
"name": "minecraft-launcher-core", "name": "minecraft-launcher-core",
"version": "2.3.0", "version": "2.3.1",
"description": "Module that downloads Minecraft assets and runs Minecraft. Also Supports Forge", "description": "Module that downloads Minecraft assets and runs Minecraft. Also Supports Forge",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {