diff --git a/src/WorldGuardListener.java b/src/WorldGuardListener.java index aa29e443..a0fd76e5 100644 --- a/src/WorldGuardListener.java +++ b/src/WorldGuardListener.java @@ -815,7 +815,7 @@ public boolean onHealthChange(Player player, int oldValue, int newValue) { String playerName = player.getName(); if (invinciblePlayers.contains(playerName)) { - return true; + return oldValue > newValue; } if (loginProtection > 0 || spawnProtection > 0 || kickOnDeath) {