Skip to content

Commit

Permalink
🚀 unfuck main command register
Browse files Browse the repository at this point in the history
Took 41 seconds
  • Loading branch information
kiranhart committed Aug 1, 2024
1 parent d35dcaf commit 85a8634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/ca/tweetzy/auctionhouse/AuctionHouse.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public void onPluginEnable() {
// commands
this.commandManager.setSyntaxErrorMessage(TextUtils.formatText(getLocale().getMessage("commands.invalid_syntax").getMessage().split("\n")));
this.commandManager.setNoPermsMessage(TextUtils.formatText(getLocale().getMessage("commands.no_permission").getMessage()));
this.commandManager.registerCommandDynamically(new CommandAuctionHouse()).addSubCommands(
this.commandManager.addCommand(new CommandAuctionHouse()).addSubCommands(
new CommandSell(),
new CommandActive(),
new CommandExpired(),
Expand Down

0 comments on commit 85a8634

Please sign in to comment.