mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Don't check entity movement or in-air ticks if player dies due to movement, close #1226
Not an ideal solution but it'll do.
This commit is contained in:
@ -1662,7 +1662,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
$this->processMovement($tickDiff);
|
||||
$this->entityBaseTick($tickDiff);
|
||||
|
||||
if(!$this->isSpectator()){
|
||||
if(!$this->isSpectator() and $this->isAlive()){
|
||||
$this->checkNearEntities($tickDiff);
|
||||
|
||||
if($this->speed !== null){
|
||||
|
Reference in New Issue
Block a user