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
|
|
@ -249,7 +249,7 @@ namespace MinecraftClient
|
|||
/// <param name="str">String to write</param>
|
||||
/// <param name="acceptnewlines">If false, space are printed instead of newlines</param>
|
||||
|
||||
public static void WriteLineFormatted(string str, bool acceptnewlines)
|
||||
public static void WriteLineFormatted(string str, bool acceptnewlines = true)
|
||||
{
|
||||
if (basicIO) { Console.WriteLine(str); return; }
|
||||
if (!String.IsNullOrEmpty(str))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue