aboutsummaryrefslogtreecommitdiff
path: root/mcsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcsh.sh')
-rwxr-xr-xmcsh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcsh.sh b/mcsh.sh
index 62837c9..05f920d 100755
--- a/mcsh.sh
+++ b/mcsh.sh
@@ -75,7 +75,7 @@ function auth (
res="$(curl -s -X POST "$XSTS_TOKEN_URL" -H 'Content-Type: application/json' -H 'Accept: application/json' -d "$req")"
xsts_token="$(<<<"$res" jq -r '.Token')"
- printf 'authenticating with mincraft\n' >&2
+ printf 'authenticating with minecraft\n' >&2
req="$(jq -n --arg xuid "$xuid" --arg token "$xsts_token" '{"identityToken": "XBL3.0 x=\($xuid);\($token)"}')"
res="$(curl -s -X POST "$MC_AUTH_URL" -H 'Content-Type: application/json' -H 'Accept: application/json' -d "$req")"
mc_token="$(<<<"$res" jq -r '.access_token')"