Add brackets
This commit is contained in:
parent
54915bcf47
commit
b16b9e70f2
1 changed files with 2 additions and 0 deletions
|
|
@ -630,11 +630,13 @@ namespace TShockAPI
|
||||||
|
|
||||||
int index = -1;
|
int index = -1;
|
||||||
for (int i = 0; i < cmdText.Length; i++)
|
for (int i = 0; i < cmdText.Length; i++)
|
||||||
|
{
|
||||||
if (IsWhiteSpace(cmdText[i]))
|
if (IsWhiteSpace(cmdText[i]))
|
||||||
{
|
{
|
||||||
index = i;
|
index = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
string cmdName;
|
string cmdName;
|
||||||
if (index == 0) // Space after the command specifier should not be supported
|
if (index == 0) // Space after the command specifier should not be supported
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue