Fixes #1964
@@ -9,6 +9,7 @@ Key:
Version 1.5.01-dev
= Fixed bug where the Updater was running on the main thread.
+ ! Vanished players no longer get hit by AoE effects
Version 1.5.00
+ Added Podzol & Red Sand to Excavation
@@ -502,6 +502,11 @@ public final class CombatUtils {
return false;
}
+ // Vanished players should not be able to get hit by AoE effects
+ if (!player.canSee(defender)) {
+ return false;
+ }
+
// It may seem a bit redundant but we need a check here to prevent bleed from being applied in applyAbilityAoE()
if (callFakeDamageEvent(player, entity, 1.0) == 0) {