BasicIO Alerts compatibility

This commit is contained in:
ORelio 2013-08-17 12:53:38 +02:00
parent 700d345cef
commit 29ea512dbb

View file

@ -599,6 +599,9 @@ namespace MinecraftClient
if (ok)
{
Console.Beep(); //Text found !
if (ConsoleIO.basicIO) { ConsoleIO.WriteLine(comp.Replace(alert, "§c" + alert + "§r")); } else {
#region Displaying the text with the interesting part highlighted
Console.BackgroundColor = ConsoleColor.DarkGray;
@ -653,6 +656,7 @@ namespace MinecraftClient
#endregion
}
}
}
}