Remove valid string checks, Terraria seems to check and replace invalid chars by default
This commit is contained in:
parent
27f61645ce
commit
e879135d21
3 changed files with 9 additions and 14 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue