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) if (ok)
{ {
Console.Beep(); //Text found ! 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 #region Displaying the text with the interesting part highlighted
Console.BackgroundColor = ConsoleColor.DarkGray; Console.BackgroundColor = ConsoleColor.DarkGray;
@ -652,7 +655,8 @@ namespace MinecraftClient
ConsoleIO.Write('\n'); ConsoleIO.Write('\n');
#endregion #endregion
}
} }
} }
} }