mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
ConsoleIO: Sync with SharpTools
Had 2 versions of the ConsoleIO class, one here inc MCC (the original), and another one in SharpTools, more generic, for use in other projects. Both had diverged, this commit imports changes from the other repository. This should not have any particular effect on MCC, besides adding more documentation and settings in the source code of the class. If any issue arises, as always, please report it :)
This commit is contained in:
parent
b5c8bf683f
commit
ecf0114f62
6 changed files with 139 additions and 51 deletions
|
|
@ -41,7 +41,7 @@ namespace MinecraftClient.ChatBots
|
|||
if (Settings.Alerts_Beep_Enabled)
|
||||
Console.Beep(); //Text found !
|
||||
|
||||
if (ConsoleIO.basicIO) //Using a GUI? Pass text as is.
|
||||
if (ConsoleIO.BasicIO) //Using a GUI? Pass text as is.
|
||||
ConsoleIO.WriteLine(text.Replace(alert, "§c" + alert + "§r"));
|
||||
|
||||
else //Using Console Prompt : Print text with alert highlighted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue