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": {