Created
April 4, 2014 15:52
-
-
Save DarkSeraphim/9977494 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Command(name="freeforall", description="Teleports you to the free for all arena") | |
@Aliases("ffa") | |
public boolean freeForAll(CommandSender sender, org.bukkit.command.Command command, String[] args) | |
{ | |
if(sender instanceof Player) | |
{ | |
((Player)sender).teleport(this.loc); | |
sender.sendMessage(ChatColor.YELLOW+"Have a good fight >:)!"); | |
} | |
return true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment