Set user type to msa for msft accounts.

This commit is contained in:
Daniel Scalzi 2022-04-03 17:08:55 -04:00
parent 0bc74d9c66
commit 4e2c9ce3ec
No known key found for this signature in database
GPG Key ID: 9E3E2AFE45328AA5

View File

@ -468,7 +468,7 @@ class ProcessBuilder {
val = this.authUser.accessToken
break
case 'user_type':
val = 'mojang'
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
break
case 'version_type':
val = this.versionData.type
@ -566,7 +566,7 @@ class ProcessBuilder {
val = this.authUser.accessToken
break
case 'user_type':
val = 'mojang'
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
break
case 'user_properties': // 1.8.9 and below.
val = '{}'