mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +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:
parent
bed68a012d
commit
5b3bed8b06
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user