mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Remove Java dependency for server Hash
Server Hash is now fully computed using C#.NET capabilities only. That's another step towards removing Java lib dependencies :)
This commit is contained in:
parent
bac660d410
commit
01ba55527d
2 changed files with 48 additions and 20 deletions
|
|
@ -486,7 +486,7 @@ namespace MinecraftClient
|
|||
if (serverIDhash != "-")
|
||||
{
|
||||
Console.WriteLine("Checking Session...");
|
||||
if (!SessionCheck(uuid, sessionID, new java.math.BigInteger(Crypto.getServerHash(serverIDhash, serverKey, secretKey)).toString(16)))
|
||||
if (!SessionCheck(uuid, sessionID, Crypto.getServerHash(serverIDhash, serverKey, secretKey)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue