Fix ServerList bug again

This commit is contained in:
BruceChen 2022-11-05 21:30:15 +08:00
parent fc30e38e78
commit c0266685a8

View file

@ -424,7 +424,7 @@ namespace MinecraftClient
if (!string.IsNullOrWhiteSpace(General.Server.Host))
{
string[] sip = General.Server.Host.Split(new[] { ":", "" }, StringSplitOptions.None);
General.Server.Host = ToLowerIfNeed(sip[0]);
General.Server.Host = sip[0];
InternalConfig.ServerIP = General.Server.Host;
if (sip.Length > 1)