Skip to content

Commit

Permalink
Add tab-complete for /t res
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoett154 committed Nov 8, 2014
1 parent 3135a5b commit 8a1c9fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/mytown/commands/CommandsOutsider.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public static void infoCommand(ICommandSender sender, List<String> args) {
name = "res",
permission = "mytown.cmd.outsider.res",
parentName = "mytown.cmd",
nonPlayers = true)
nonPlayers = true,
completionKeys = {"residentCompletion"})
public static void resCommand(ICommandSender sender, List<String> args) {
if (args.size() < 1) {
throw new MyTownWrongUsageException("mytown.cmd.usage.res");
Expand Down

0 comments on commit 8a1c9fa

Please sign in to comment.