Class ErrorHandling

java.lang.Object
net.jeqo.bloons.commands.utils.ErrorHandling

public class ErrorHandling extends Object
A class used to handle errors on commands and to send the usage message to the sender
  • Constructor Details

    • ErrorHandling

      public ErrorHandling()
  • Method Details

    • usage

      public static void usage(org.bukkit.command.CommandSender sender)
      Sends a message to the sender that the command was not found. Based on the commands the player has access to, it will also send a list of available commands
      Parameters:
      sender - The sender of the command, type org.bukkit.command.CommandSender