Merge branch 'general-devel' into fix-permdump
This commit is contained in:
commit
ba31d1faab
2 changed files with 8 additions and 1 deletions
|
|
@ -165,10 +165,16 @@ namespace TShockAPI.CLI
|
|||
{
|
||||
_source = source;
|
||||
|
||||
for (int i = 0; i < (source.Length - 1 == 0 ? 1 : source.Length - 1); i++)
|
||||
for (int i = 0; i < (source.Length - 1 == 0 ? 1 : source.Length); i++)
|
||||
{
|
||||
string flag = source[i].ToLowerInvariant();
|
||||
string argument = null;
|
||||
|
||||
if (string.IsNullOrWhiteSpace(flag))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (i + 1 < source.Length)
|
||||
{
|
||||
argument = source[i + 1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue