Skip to content

Commit

Permalink
Fixes Ops don't take damage unless they have negative perms
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Oct 29, 2018
1 parent 55c75e1 commit f671fcd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public void onPlayerMove(PlayerMoveEvent e) {
|| player.getGameMode().equals(GameMode.SPECTATOR)
|| addon.getPlayers().isInTeleport(player.getUniqueId())
|| !Util.sameWorld(addon.getIslandWorld(), player.getWorld())
|| player.hasPermission("acidisland.mod.noburn")
|| player.hasPermission("admin.noburn")
|| (!player.isOp() && player.hasPermission("acidisland.mod.noburn"))
|| (!player.isOp() && player.hasPermission("admin.noburn"))
|| (player.isOp() && !addon.getSettings().isAcidDamageOp())) {
return;
}
Expand Down

0 comments on commit f671fcd

Please sign in to comment.