mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
parent
f0ee708710
commit
a9488bc18b
@ -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) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user