Server list ping packet done

(+) Thanks dogwatch for pointing out the mistake in int->varint
converter !
This commit is contained in:
ORelio 2014-01-08 20:54:42 +01:00
parent 5fb54882ca
commit bee1893f75
2 changed files with 40 additions and 42 deletions

View file

@ -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 ?