mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Variable engine done, catch bot exceptions
- %variable% variables can be declared in the INI file and used elsewhere - Default argument 'true' for WriteLineFormatted in ConsoleIO - Exceptions thrown by bots no longer disconnect from the server, stack trace is printed instead
This commit is contained in:
parent
898a04a843
commit
068b87a11a
10 changed files with 111 additions and 30 deletions
|
|
@ -49,7 +49,7 @@ namespace MinecraftClient.Proxy
|
|||
|
||||
if (!proxy_ok)
|
||||
{
|
||||
ConsoleIO.WriteLineFormatted("§8Connected to proxy " + Settings.ProxyHost + ':' + Settings.ProxyPort, false);
|
||||
ConsoleIO.WriteLineFormatted("§8Connected to proxy " + Settings.ProxyHost + ':' + Settings.ProxyPort);
|
||||
proxy_ok = true;
|
||||
}
|
||||
|
||||
|
|
@ -59,7 +59,7 @@ namespace MinecraftClient.Proxy
|
|||
}
|
||||
catch (ProxyException e)
|
||||
{
|
||||
ConsoleIO.WriteLineFormatted("§8" + e.Message, false);
|
||||
ConsoleIO.WriteLineFormatted("§8" + e.Message);
|
||||
proxy = null;
|
||||
return null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue