From a1dbd06f8a9c8b5cbc76d85bbe5090f4cde51fae Mon Sep 17 00:00:00 2001 From: Lucas Nicodemus Date: Wed, 30 May 2012 03:13:04 -0600 Subject: [PATCH] Changed the colors a bit I'm aware that there's the top half of the file to do :/ --- TShockAPI/Commands.cs | 4 ++-- TShockAPI/TSPlayer.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index a72f98b5..cfcad9a0 100644 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -216,14 +216,14 @@ namespace TShockAPI if (cmd == null) { - player.SendMessage("Invalid Command Entered. Type /help for a list of valid Commands.", Color.Red); + player.SendErrorMessage("Invalid Command Entered. Type /help for a list of valid Commands."); return true; } if (!cmd.CanRun(player)) { TShock.Utils.SendLogs(string.Format("{0} tried to execute {1}", player.Name, cmd.Name), Color.Red); - player.SendMessage("You do not have access to that command.", Color.Red); + player.SendErrorMessage("You do not have access to that command."); } else { diff --git a/TShockAPI/TSPlayer.cs b/TShockAPI/TSPlayer.cs index b716ac0c..ffaf033c 100644 --- a/TShockAPI/TSPlayer.cs +++ b/TShockAPI/TSPlayer.cs @@ -409,7 +409,7 @@ namespace TShockAPI public virtual void SendInfoMessage(string msg) { - SendMessage(msg, Color.Indigo); + SendMessage(msg, Color.Yellow); } public virtual void SendSuccessMessage(string msg) @@ -419,7 +419,7 @@ namespace TShockAPI public virtual void SendWarningMessage(string msg) { - SendMessage(msg, Color.Yellow); + SendMessage(msg, Color.OrangeRed); } public virtual void SendErrorMessage(string msg)