diff --git a/src/main/java/top/jingwenmc/mcdndc/tabcomplete/mcdndctab.java b/src/main/java/top/jingwenmc/mcdndc/tabcomplete/mcdndctab.java index 5932a6e..ee60c9d 100644 --- a/src/main/java/top/jingwenmc/mcdndc/tabcomplete/mcdndctab.java +++ b/src/main/java/top/jingwenmc/mcdndc/tabcomplete/mcdndctab.java @@ -24,6 +24,8 @@ public List 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);