Set user type to msa for msft accounts.
This commit is contained in:
parent
0bc74d9c66
commit
4e2c9ce3ec
@ -468,7 +468,7 @@ class ProcessBuilder {
|
|||||||
val = this.authUser.accessToken
|
val = this.authUser.accessToken
|
||||||
break
|
break
|
||||||
case 'user_type':
|
case 'user_type':
|
||||||
val = 'mojang'
|
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
|
||||||
break
|
break
|
||||||
case 'version_type':
|
case 'version_type':
|
||||||
val = this.versionData.type
|
val = this.versionData.type
|
||||||
@ -566,7 +566,7 @@ class ProcessBuilder {
|
|||||||
val = this.authUser.accessToken
|
val = this.authUser.accessToken
|
||||||
break
|
break
|
||||||
case 'user_type':
|
case 'user_type':
|
||||||
val = 'mojang'
|
val = this.authUser.type === 'microsoft' ? 'msa' : 'mojang'
|
||||||
break
|
break
|
||||||
case 'user_properties': // 1.8.9 and below.
|
case 'user_properties': // 1.8.9 and below.
|
||||||
val = '{}'
|
val = '{}'
|
||||||
|
Loading…
Reference in New Issue
Block a user