Skip to content

Commit

Permalink
use brigadier command api
Browse files Browse the repository at this point in the history
  • Loading branch information
NonSwag committed Jul 25, 2024
1 parent a33930d commit 95b9606
Show file tree
Hide file tree
Showing 2 changed files with 200 additions and 167 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void onEnable() {
}

private void registerCommands() {
Bukkit.getCommandMap().register(getName(), new CommanderCommand(this));
new CommanderCommand(this).register();
}

private void registerListeners() {
Expand Down
Loading

0 comments on commit 95b9606

Please sign in to comment.