Merge branch 'release/3.1' into release/3.2

This commit is contained in:
Dylan K. Taylor
2018-08-22 15:41:52 +01:00
2 changed files with 9 additions and 4 deletions

View File

@ -1030,8 +1030,8 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
$hasUpdate = true;
}
if($this->isOnFire()){
$hasUpdate = ($hasUpdate || $this->doOnFireTick($tickDiff));
if($this->isOnFire() and $this->doOnFireTick($tickDiff)){
$hasUpdate = true;
}
if($this->noDamageTicks > 0){