Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
glorydark committed Feb 21, 2024
1 parent 0fa9efa commit 11cf5ba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void PlayerGameModeChangeEvent(PlayerGameModeChangeEvent event) {
if (PermissionAPI.isAdmin(player)) {
return;
}
if (PermissionAPI.isOperator(player, player.getLevel())) {
if (PermissionAPI.isOperator(player, level)) {
return;
}
if (!bool) {
Expand Down

0 comments on commit 11cf5ba

Please sign in to comment.