mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fixed username added several times with autorelog
- If using autorelog bot, " - Username" was added each time the app was restarting - To fix this, added a ConsoleTitle setting which is re-used when restarting
This commit is contained in:
parent
b49850e042
commit
fa6aa107c8
2 changed files with 5 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ namespace MinecraftClient
|
|||
public static string Password = "";
|
||||
public static string ServerIP = "";
|
||||
public static string SingleCommand = "";
|
||||
public static string ConsoleTitle = "Minecraft Console Client";
|
||||
|
||||
//Other Settings
|
||||
public static string TranslationsFile_FromMCDir = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + @"\.minecraft\assets\virtual\legacy\lang\en_GB.lang";
|
||||
|
|
@ -121,7 +122,7 @@ namespace MinecraftClient
|
|||
case "singlecommand": SingleCommand = argValue; break;
|
||||
case "translationsfile": TranslationsFile = argValue; break;
|
||||
case "botownersfile": Bots_OwnersFile = argValue; break;
|
||||
case "consoletitle": Console.Title = argValue; break;
|
||||
case "consoletitle": ConsoleTitle = argValue; break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue