Fixed not being able to place blocks inside dead players

closes #2265
This commit is contained in:
Dylan K. Taylor
2018-06-29 16:38:31 +01:00
parent ca6930006c
commit 905259a4e1
2 changed files with 2 additions and 2 deletions

View File

@ -1101,7 +1101,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
}
public function canBeCollidedWith() : bool{
return true;
return $this->isAlive();
}
protected function updateMovement(bool $teleport = false) : void{