Fixed the heal command always self healing
This commit is contained in:
parent
01f9f2579d
commit
c964b3b2eb
1 changed files with 1 additions and 1 deletions
|
|
@ -785,7 +785,7 @@ namespace TShockAPI
|
||||||
{
|
{
|
||||||
int adminplr = args.PlayerID;
|
int adminplr = args.PlayerID;
|
||||||
|
|
||||||
if (args.Parameters.Count > 1)
|
if (args.Parameters.Count > 0)
|
||||||
{
|
{
|
||||||
string plStr = String.Join(" ", args.Parameters);
|
string plStr = String.Join(" ", args.Parameters);
|
||||||
int player = Tools.FindPlayer(plStr);
|
int player = Tools.FindPlayer(plStr);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue