Skip to content

Commit

Permalink
fix: Fix command name in help entries of MindustryCommandFacade
Browse files Browse the repository at this point in the history
  • Loading branch information
phinner committed Apr 22, 2024
1 parent 2018a0d commit 0e9eca4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public boolean isVisible(final CommandSender sender) {
@Override
public CommandHelp getHelp(final CommandSender sender, final String query) {
return CommandHelp.Entry.of(
command.paramText,
command.params.length == 0 ? command.text : command.text + " " + command.paramText,
getDescription(),
DescriptionFacade.EMPTY,
Arrays.stream(command.params)
Expand Down

0 comments on commit 0e9eca4

Please sign in to comment.