mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix "Failed to check session cache"
This commit is contained in:
parent
e4cae97dd7
commit
52248d1aba
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ namespace MinecraftClient.Protocol
|
|||
string result = "";
|
||||
string json_request = "{\"accessToken\":\"" + accesstoken + "\",\"selectedProfile\":\"" + uuid + "\",\"serverId\":\"" + serverhash + "\"}";
|
||||
int code = DoHTTPSPost("sessionserver.mojang.com", "/session/minecraft/join", json_request, ref result);
|
||||
return (result == "");
|
||||
return (code == 200);
|
||||
}
|
||||
catch { return false; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue