Fixed the heal command always self healing

This commit is contained in:
ricky 2011-06-10 20:48:20 +10:00
parent 01f9f2579d
commit c964b3b2eb

View file

@ -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);