mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fixed server alias not case insensitive
Bug report by TorchRJ_
This commit is contained in:
parent
c53a696ffd
commit
ad5897fcb4
1 changed files with 1 additions and 0 deletions
|
|
@ -429,6 +429,7 @@ namespace MinecraftClient
|
||||||
|
|
||||||
public static bool setServerIP(string server)
|
public static bool setServerIP(string server)
|
||||||
{
|
{
|
||||||
|
server = server.ToLower();
|
||||||
string[] sip = server.Split(':');
|
string[] sip = server.Split(':');
|
||||||
string host = sip[0];
|
string host = sip[0];
|
||||||
short port = 25565;
|
short port = 25565;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue