Player: removed checkBlockCollision() override

This commit is contained in:
Dylan K. Taylor 2018-03-30 12:23:00 +01:00
parent 4b03dbebba
commit 4ce1f228e6

View File

@ -1495,10 +1495,8 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
$this->isCollided = $this->onGround;
}
protected function checkBlockCollision(){
foreach($this->getBlocksAround() as $block){
$block->onEntityCollide($this);
}
public function canBeMovedByCurrents() : bool{
return false; //currently has no server-side movement
}
protected function checkNearEntities(int $tickDiff){