Add brackets

This commit is contained in:
Simon 2016-10-16 09:48:46 +03:00
parent 54915bcf47
commit b16b9e70f2

View file

@ -630,11 +630,13 @@ namespace TShockAPI
int index = -1;
for (int i = 0; i < cmdText.Length; i++)
{
if (IsWhiteSpace(cmdText[i]))
{
index = i;
break;
}
}
string cmdName;
if (index == 0) // Space after the command specifier should not be supported
{