mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 10:53:05 +00:00
fixed non-living entities lingering for a second after being kill()ed
only living entities should have death animation time
This commit is contained in:
@ -50,6 +50,9 @@ abstract class Living extends Entity implements Damageable{
|
||||
|
||||
protected $attackTime = 0;
|
||||
|
||||
/** @var int */
|
||||
protected $maxDeadTicks = 20;
|
||||
|
||||
protected $invisible = false;
|
||||
|
||||
protected $jumpVelocity = 0.42;
|
||||
|
Reference in New Issue
Block a user