Skip to content

Commit

Permalink
Ignore Ops
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 30, 2019
1 parent ca723c3 commit 62aaa4f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public void onExitIsland(final IslandEvent.IslandExitEvent event) {

final User user = User.getInstance(event.getPlayerUUID());

// Ignore ops
if (user.isOp()) return;

// Alert player fly will be disabled
final int flyTimeout = this.addon.getSettings().getFlyTimeout();

Expand Down

0 comments on commit 62aaa4f

Please sign in to comment.