Skip to content

Commit

Permalink
fix: add permission back to builder() method
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmakila committed Jul 20, 2023
1 parent 547cb26 commit 5382d9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public ProxyChatCommand(ProxyChat proxyChat, String commandName, String... comma
public abstract void register();

protected Command.Builder<Commander> builder() {
return this.builder;
return this.builder.permission(this.permission);
}

protected Command.Builder<Commander> subCommand(String literal) {
Expand Down

0 comments on commit 5382d9a

Please sign in to comment.