mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
Correct spelling mistakes
Add custom config path setting to AutoCraft
This commit is contained in:
parent
3ff2a18b60
commit
1960235968
5 changed files with 59 additions and 39 deletions
|
|
@ -166,6 +166,7 @@ namespace MinecraftClient
|
|||
|
||||
//AutoCraft
|
||||
public static bool AutoCraft_Enabled = false;
|
||||
public static string AutoCraft_configFile = @"autocraft\config.ini";
|
||||
|
||||
//Custom app variables and Minecraft accounts
|
||||
private static readonly Dictionary<string, object> AppVars = new Dictionary<string, object>();
|
||||
|
|
@ -500,6 +501,7 @@ namespace MinecraftClient
|
|||
switch (argName.ToLower())
|
||||
{
|
||||
case "enabled": AutoCraft_Enabled = str2bool(argValue); break;
|
||||
case "configfile": AutoCraft_configFile = argValue; break;
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
@ -716,6 +718,7 @@ namespace MinecraftClient
|
|||
+ "# Inventory Handling NEED to be enabled first\r\n"
|
||||
+ "# Enable terrainandmovements if you need to use crafting table\r\n"
|
||||
+ "enabled=false\r\n"
|
||||
+ "configfile=autocraft\\config.ini\r\n"
|
||||
+ "\r\n", Encoding.UTF8);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue