diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 89cd3cff..74cd7981 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -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 {