Skip to content

Commit

Permalink
Exclude read sub command from usage message (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
RappyTV committed Jun 17, 2024
1 parent 9a24e03 commit f72149e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public LabyChatUtilsCommand() {
public boolean execute(String prefix, String[] arguments) {
List<String> subcommands = new ArrayList<>();
for(SubCommand subCommand : getSubCommands())
subcommands.add(subCommand.getPrefix());
if(!subCommand.getPrefix().equals("read")) subcommands.add(subCommand.getPrefix());

displayMessage(LabyChatUtilsAddon.prefix.copy().append(Component.translatable(
"labychatutils.messages.usage",
Expand Down

0 comments on commit f72149e

Please sign in to comment.