mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Server list ping packet done
(+) Thanks dogwatch for pointing out the mistake in int->varint converter !
This commit is contained in:
parent
5fb54882ca
commit
bee1893f75
2 changed files with 40 additions and 42 deletions
|
|
@ -207,7 +207,7 @@ namespace MinecraftClient
|
|||
|
||||
//Get server version
|
||||
Console.WriteLine("Retrieving Server Info...");
|
||||
byte protocolversion = 0; string version = "";
|
||||
int protocolversion = 0; string version = "";
|
||||
if (MinecraftCom.GetServerInfo(Settings.ServerIP, ref protocolversion, ref version))
|
||||
{
|
||||
//Supported protocol version ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue