when i try use a command i made to heal a player it spits this in the console
using Oxide.Core.Libraries.Covalence;
using System;
namespace Oxide.Plugins
{
[Info("heals", "Rodney", 0.1)]
[Description("Commands to Assist admins!")]
public class heals : CovalencePlugin
{
[Command("heal")]
private void HealCommand(IPlayer player, string Command, string[] args)
{
if (player.IsAdmin)
{
if (args.Length == 1)
{
var target = players.FindPlayer(args[1]);
if (target != null)
{
target.Heal(50);
}
}
}
else
{
player.Reply("You Don't have Permission to use this Command!");
}