mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
[SKIP_BUILD] FIx "/reco" and "/connect" not working properly
This commit is contained in:
parent
d56dd4a74a
commit
ae23ead4c3
7 changed files with 54 additions and 31 deletions
|
|
@ -23,7 +23,7 @@ namespace MinecraftClient.Commands
|
|||
|
||||
if (Settings.Config.Main.SetServerIP(new Settings.MainConfigHealper.MainConfig.ServerInfoConfig(args[0]), true))
|
||||
{
|
||||
Program.Restart();
|
||||
Program.Restart(keepAccountAndServerSettings: true);
|
||||
return "";
|
||||
}
|
||||
else return string.Format(Translations.cmd_connect_invalid_ip, args[0]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue