mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
extended death animation time
This commit is contained in:
@ -1649,7 +1649,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
|
||||
if(!$this->isAlive() and $this->spawned){
|
||||
$this->deadTicks += $tickDiff;
|
||||
if($this->deadTicks >= 10){
|
||||
if($this->deadTicks >= 20){
|
||||
$this->despawnFromAll();
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user