Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private YggdrasilSession parse(JSONObject response, String password) {
- System.out.println(response.toJSONString());
- String accessTokenValue = (String) response.get("accessToken");
- String clientTokenValue = (String) response.get("clientToken");
- JSONArray availableProfilesValue = (JSONArray) response.get("availableProfiles");
- JSONObject selectedProfileValue = (JSONObject) response.get("selectedProfile");
- BigInteger accessToken = new BigInteger(accessTokenValue, 16);
- //////
- //////
- //////
- Yikes
- //////
- //////
- //////
- java.io.IOException: Unable to parse server response
- at com.ItzKmaf.ConsoleClient.auth.YggdrasilAuthService.login(Unknown Source)
- at com.ItzKmaf.ConsoleClient.auth.YggdrasilAuthService.login(Unknown Source)
- at com.ItzKmaf.ConsoleClient.MinecraftClientWrapper.startAccount(Unknown Source)
- at com.ItzKmaf.ConsoleClient.discordStuff.Host.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- Caused by: java.lang.NumberFormatException: Illegal embedded sign character
- at java.math.BigInteger.<init>(Unknown Source)
- at com.ItzKmaf.ConsoleClient.auth.YggdrasilAuthService.parse(Unknown Source)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement