Skip to content

Commit 7b38259

Browse files
committed
fix: hide aliases from subcommand suggestions
1 parent 63a3027 commit 7b38259

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

headdb-platforms/headdb-paper/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<maven-shade-plugin.version>3.6.2</maven-shade-plugin.version>
3232

3333
<lib.atlas.version>32c85d1450</lib.atlas.version>
34-
<lib.relay.version>c18bf437db</lib.relay.version>
34+
<lib.relay.version>3fc62454e3</lib.relay.version>
3535
<lib.hermes.version>3505fd1883</lib.hermes.version>
3636
<lib.grafik.version>d78876b0e2</lib.grafik.version>
3737
<lib.prompts.version>c7122eab41</lib.prompts.version>

headdb-platforms/headdb-paper/src/main/java/io/github/silentdevelopment/headdb/paper/command/RootCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ protected void handle(@NotNull PaperCommandContext context) {
9191
return CommandBuilder.<CommandSender>literal("hdb")
9292
.description("HeadDB main command.")
9393
.alias("headdb")
94+
.suggestAliases(true)
9495
.noArgs();
9596
}
9697
}

0 commit comments

Comments
 (0)