Chat format is configurable now.

This commit is contained in:
Zidonuke 2011-12-22 17:46:55 -05:00
parent 33d304a4fa
commit e0094ae642
2 changed files with 4 additions and 3 deletions

View file

@ -560,9 +560,7 @@ namespace TShockAPI
}
else
{
TShock.Utils.Broadcast("{0}{1}{2}: {3}".SFormat(tsplr.Group.Prefix, tsplr.Name, tsplr.Group.Suffix, text),
tsplr.Group.R, tsplr.Group.G,
tsplr.Group.B);
TShock.Utils.Broadcast(String.Format(TShock.Config.ChatFormat, tsplr.Group.Prefix, tsplr.Name, tsplr.Group.Suffix, text), tsplr.Group.R, tsplr.Group.G, tsplr.Group.B);
e.Handled = true;
}
}