Skip to content

Commit

Permalink
Add commandbook.pong permissions to /pong command. Closes pull #84
Browse files Browse the repository at this point in the history
  • Loading branch information
wizjany committed Nov 21, 2012
1 parent f88e97e commit e0e99c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/sk89q/commandbook/FunComponent.java
Expand Up @@ -141,6 +141,7 @@ public void ping(CommandContext args, CommandSender sender) throws CommandExcept
@Command(aliases = {"pong"},
usage = "", desc = "A dummy command",
flags = "", min = 0, max = 0)
@CommandPermissions({"commandbook.pong"})
public void pong(CommandContext args, CommandSender sender) throws CommandException {

sender.sendMessage(ChatColor.YELLOW +
Expand Down

0 comments on commit e0e99c9

Please sign in to comment.