Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
- if(cmd.getName().equalsIgnoreCase("basic")
- || commandLabel.equalsIgnoreCase("b"))
- { // If the player typed /basic then do the following...
- return true;
- } //If this has happened the function will break and return true. if this hasn't happened the a value of false will be returned.
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement