1.5.0 Release Canidate 4.2
This commit is contained in:
parent
a05ba6d149
commit
23401507e4
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ public class DamageHandler implements Listener {
|
|||
return;
|
||||
}
|
||||
// If there is no attacker, it must of been by natural causes. If pvp is disabled, and config doesn't allow natural causes, cancel event.
|
||||
} else if (!pvpEnabled && !allowNaturalCauses) {
|
||||
} else if (!pvpEnabled && !allowNaturalCauses && board.contains(player)) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue