Switches to use internal mojang accessors and removed 'mojang' as a dependency. First attempt at authentication storage, system will be refinded as UI is implemented further. All auth interactions should be made throught authmanager.js

This commit is contained in:
Daniel Scalzi
2017-12-03 08:12:55 -05:00
parent 3c7d7d79af
commit 5afd9815a5
6 changed files with 102 additions and 17 deletions

View File

@@ -131,7 +131,7 @@ class ProcessBuilder {
let val = null;
switch(identifier){
case 'auth_player_name':
val = this.authUser.selectedProfile.name
val = this.authUser.displayName
break
case 'version_name':
//val = versionData.id
@@ -147,7 +147,7 @@ class ProcessBuilder {
val = this.versionData.assets
break
case 'auth_uuid':
val = this.authUser.selectedProfile.id
val = this.authUser.uuid
break
case 'auth_access_token':
val = this.authUser.accessToken