diff --git a/src/pocketmine/entity/Living.php b/src/pocketmine/entity/Living.php index e2bcc2098..f2d710877 100644 --- a/src/pocketmine/entity/Living.php +++ b/src/pocketmine/entity/Living.php @@ -440,7 +440,7 @@ abstract class Living extends Entity implements Damageable{ } } - return $this->deadTicks >= 20; + return $this->deadTicks >= $this->maxDeadTicks; } protected function startDeathAnimation() : void{