Remove valid string checks, Terraria seems to check and replace invalid chars by default

This commit is contained in:
Deathmax 2012-01-18 20:55:30 +08:00
parent 27f61645ce
commit e879135d21
3 changed files with 9 additions and 14 deletions

View file

@ -488,7 +488,7 @@ namespace TShockAPI
{
foo = foo.Replace("%map%", Main.worldName);
foo = foo.Replace("%players%", GetPlayers());
foo = SanitizeString(foo);
//foo = SanitizeString(foo);
if (foo.Substring(0, 1) == "%" && foo.Substring(12, 1) == "%") //Look for a beginning color code.
{
string possibleColor = foo.Substring(0, 13);