From c964b3b2eb2388e06cb79e898e30d3894e183e0a Mon Sep 17 00:00:00 2001 From: ricky Date: Fri, 10 Jun 2011 20:48:20 +1000 Subject: [PATCH] Fixed the heal command always self healing --- TShockAPI/Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/Commands.cs b/TShockAPI/Commands.cs index 6d2088a8..1e2e4009 100755 --- a/TShockAPI/Commands.cs +++ b/TShockAPI/Commands.cs @@ -785,7 +785,7 @@ namespace TShockAPI { int adminplr = args.PlayerID; - if (args.Parameters.Count > 1) + if (args.Parameters.Count > 0) { string plStr = String.Join(" ", args.Parameters); int player = Tools.FindPlayer(plStr);