Actually use the aformentioned variable instead of ChatFormat

This commit is contained in:
Lucas Nicodemus 2012-05-27 11:36:37 -06:00
parent 6528a9e8f1
commit 70bf515ae0

View file

@ -809,7 +809,7 @@ namespace TShockAPI
e.Handled = true; e.Handled = true;
} else if (!tsplr.mute && TShock.Config.EnableChatAboveHeads) } else if (!tsplr.mute && TShock.Config.EnableChatAboveHeads)
{ {
Utils.Broadcast(ply, String.Format(Config.ChatFormat, tsplr.Group.Name, tsplr.Group.Prefix, tsplr.Name, tsplr.Group.Suffix, text), tsplr.Group.R, tsplr.Group.G, tsplr.Group.B); Utils.Broadcast(ply, String.Format(Config.ChatAboveHeadsFormat, tsplr.Group.Name, tsplr.Group.Prefix, tsplr.Name, tsplr.Group.Suffix, text), tsplr.Group.R, tsplr.Group.G, tsplr.Group.B);
e.Handled = true; e.Handled = true;
} }
else if (tsplr.mute) else if (tsplr.mute)