Fixed server alias not case insensitive

Bug report by TorchRJ_
This commit is contained in:
ORelio 2014-09-07 15:20:58 +02:00
parent c53a696ffd
commit ad5897fcb4

View file

@ -429,6 +429,7 @@ namespace MinecraftClient
public static bool setServerIP(string server)
{
server = server.ToLower();
string[] sip = server.Split(':');
string host = sip[0];
short port = 25565;