From 8e3d6751aebc9debb5d98e866c66f2b359568f0a Mon Sep 17 00:00:00 2001 From: Pierce Date: Sun, 10 Mar 2019 21:29:42 -0400 Subject: [PATCH] woops, change json parse down here to --- components/authenticator.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/authenticator.js b/components/authenticator.js index 9eda93a..166c959 100644 --- a/components/authenticator.js +++ b/components/authenticator.js @@ -92,7 +92,7 @@ function refreshAuth(accessToken, clientToken, selectedProfile) { client_token: uuid(), uuid: body.selectedProfile.id, name: body.selectedProfile.name, - user_properties: JSON.stringify((body.user || {}).properties || {}) + user_properties: JSON.stringify(body.user.properties || {}) }; resolve(userProfile); diff --git a/package.json b/package.json index 034cd56..e4829b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-launcher-core", - "version": "2.3.0", + "version": "2.3.1", "description": "Module that downloads Minecraft assets and runs Minecraft. Also Supports Forge", "main": "index.js", "dependencies": {