From c5cc394bce69302ac383209f7cd5488d82f7fb3f Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 28 Apr 2014 23:43:51 +0400 Subject: [PATCH] Refix my fix --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {