Class BukkitCommand

java.lang.Object
net.winmister332.libs.commands.Command
net.winmister332.libs.commands.BukkitCommand

public class BukkitCommand extends Command
This class is used to execute a bukkit command as if it were a WMCommand.
  • Constructor Details

    • BukkitCommand

      public BukkitCommand(org.bukkit.command.Command command)
  • Method Details

    • onInvoke

      public boolean onInvoke(CommandProperties e)
      Invokes a Bukkit command as if it were a WMCommand.
      Specified by:
      onInvoke in class Command
      Parameters:
      e - The properties of the command.
      Returns:
      true if the command executed successfully.