Hello,
I'm making a plugin, for this plugin i need to set args to the Command,
Right now i have this:
But, how i can add Args?
I'm making a plugin, for this plugin i need to set args to the Command,
Right now i have this:
Code (text):
public helpclass(ClassLocator This)
{
super("help");
}
@Override
public void execute(CommandSender sender, String[] args)
{
if ((sender instanceof ProxiedPlayer))
{
ProxiedPlayer p = (ProxiedPlayer)sender;
p.sendMessage();
{
super("help");
}
@Override
public void execute(CommandSender sender, String[] args)
{
if ((sender instanceof ProxiedPlayer))
{
ProxiedPlayer p = (ProxiedPlayer)sender;
p.sendMessage();