Skip to content

Commit

Permalink
Give minestom console full permissions (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmayr authored Aug 27, 2023
1 parent 3d0d481 commit ca65bac
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ public void sendMessage(Component message) {

@Override
public boolean hasPermission(String permission) {
if (this.delegate instanceof ConsoleSender) {
return true;
}
return this.delegate.hasPermission(permission);
}
}

0 comments on commit ca65bac

Please sign in to comment.