Merge branch 'stable' into minor-next

This commit is contained in:
Dylan K. Taylor
2023-07-24 12:02:24 +01:00
18 changed files with 71 additions and 29 deletions

View File

@ -520,7 +520,9 @@ abstract class Living extends Entity{
$source->cancel();
}
$this->applyDamageModifiers($source);
if($source->getCause() !== EntityDamageEvent::CAUSE_SUICIDE){
$this->applyDamageModifiers($source);
}
if($source instanceof EntityDamageByEntityEvent && (
$source->getCause() === EntityDamageEvent::CAUSE_BLOCK_EXPLOSION ||