mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-14 17:59:41 +00:00
Merge branch 'release/3.5'
This commit is contained in:
commit
c5262fdf61
@ -576,7 +576,10 @@ abstract class Living extends Entity implements Damageable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($e !== null){
|
if($e !== null){
|
||||||
if($e->isOnFire()){
|
if((
|
||||||
|
$source->getCause() === EntityDamageEvent::CAUSE_PROJECTILE or
|
||||||
|
$source->getCause() === EntityDamageEvent::CAUSE_ENTITY_ATTACK
|
||||||
|
) and $e->isOnFire()){
|
||||||
$this->setOnFire(2 * $this->level->getDifficulty());
|
$this->setOnFire(2 * $this->level->getDifficulty());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user