mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Fix ServerList bug again
This commit is contained in:
parent
fc30e38e78
commit
c0266685a8
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ namespace MinecraftClient
|
||||||
if (!string.IsNullOrWhiteSpace(General.Server.Host))
|
if (!string.IsNullOrWhiteSpace(General.Server.Host))
|
||||||
{
|
{
|
||||||
string[] sip = General.Server.Host.Split(new[] { ":", ":" }, StringSplitOptions.None);
|
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;
|
InternalConfig.ServerIP = General.Server.Host;
|
||||||
|
|
||||||
if (sip.Length > 1)
|
if (sip.Length > 1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue