Refix my fix

This commit is contained in:
Simon 2014-04-28 23:43:51 +04:00
parent 8d32d16bff
commit c5cc394bce

View file

@ -1042,7 +1042,7 @@ namespace TShockAPI
return;
}*/
if (args.Text.StartsWith(Config.CommandSpecifier) && args.Text.Length > 1)
if (args.Text.StartsWith(Config.CommandSpecifier) && !string.IsNullOrWhiteSpace(args.Text.Substring(1)))
{
try
{