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:
ORelio 2014-06-11 20:40:25 +02:00
parent 898a04a843
commit 068b87a11a
10 changed files with 111 additions and 30 deletions

View file

@ -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;
}