mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Merge AutoCraft's config
This commit is contained in:
parent
a118dc96e9
commit
25dfcd8856
3 changed files with 138 additions and 247 deletions
|
|
@ -126,6 +126,7 @@ namespace MinecraftClient
|
|||
try
|
||||
{
|
||||
document = TomlParser.ParseFile(filepath);
|
||||
Config = TomletMain.To<GlobalConfig>(document);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
@ -148,9 +149,6 @@ namespace MinecraftClient
|
|||
ConsoleIO.WriteLine(Translations.GetOrNull("mcc.run_with_default_settings") ?? "\nMCC is running with default settings.");
|
||||
return false;
|
||||
}
|
||||
|
||||
Config = TomletMain.To<GlobalConfig>(document);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue