Skip to content

Commit

Permalink
1.4.0 Snapshot
Browse files Browse the repository at this point in the history
Tab-Complete
  • Loading branch information
jingwenMC committed Aug 17, 2020
1 parent 5f78dc8 commit 47748fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/top/jingwenmc/mcdndc/tabcomplete/mcdndctab.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public List<String> onTabComplete(CommandSender sender, Command command, String
strings.add("next");
if (sender.hasPermission("dndc.set"))
strings.add("set");
if (sender.hasPermission("dndc.words"))
strings.add("words");
strings.add("help");
StringUtil.copyPartialMatches(args[0], strings, completions);
Collections.sort(completions);
Expand Down

0 comments on commit 47748fb

Please sign in to comment.