Skip to content

Commit

Permalink
Slash server commands will now not be shown if the user doesnt have p…
Browse files Browse the repository at this point in the history
…ermissions
  • Loading branch information
ajgeiss0702 committed Apr 16, 2023
1 parent 126a337 commit 4fd393c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -37,7 +37,7 @@ public ImmutableList<String> getAliases() {

@Override
public String getPermission() {
return null;
return main.getConfig().getBoolean("require-permission") ? "ajqueue.queue."+server : null;
}

@Override
Expand Down

0 comments on commit 4fd393c

Please sign in to comment.