Add prefix, suffix, color to group command.

Fix stupid chat color getter returning the hex color.
This commit is contained in:
Zack Piispanen 2013-10-02 17:47:16 -04:00
parent 1df0129919
commit e246183108
4 changed files with 151 additions and 7 deletions

View file

@ -70,11 +70,11 @@ namespace TShockAPI
/// <summary>
/// The chat color of the group.
/// Returns "255255255", sets "255,255,255"
/// Returns "255,255,255", sets "255,255,255"
/// </summary>
public string ChatColor
{
get { return string.Format("{0}{1}{2}", R.ToString("X2"), G.ToString("X2"), B.ToString("X2")); }
get { return string.Format("{0},{1},{2}", R.ToString("D3"), G.ToString("D3"), B.ToString("D3")); }
set
{
if (null != value)