Merge branch 'general-devel' of https://github.com/NyxStudios/TShock into general-devel

This commit is contained in:
Zack Piispanen 2014-05-10 17:00:51 -04:00
commit be19f6cb00

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
{