dont send null clienttoken

This commit is contained in:
creeper123123321 2021-01-20 19:57:06 -03:00
parent 0579027ff1
commit 3eb356d46f

View File

@ -125,7 +125,7 @@ function validateToken(account) {
return fetch(getCorsProxy() + "https://authserver.mojang.com/validate", {method: "post",
body: JSON.stringify({
accessToken: account.accessToken,
clientToken: account.clientToken
clientToken: account.clientToken || undefined
}),
headers: {"content-type": "application/json"}
});