mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
Player: removed checkBlockCollision() override
This commit is contained in:
@@ -1495,10 +1495,8 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
$this->isCollided = $this->onGround;
|
$this->isCollided = $this->onGround;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkBlockCollision(){
|
public function canBeMovedByCurrents() : bool{
|
||||||
foreach($this->getBlocksAround() as $block){
|
return false; //currently has no server-side movement
|
||||||
$block->onEntityCollide($this);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function checkNearEntities(int $tickDiff){
|
protected function checkNearEntities(int $tickDiff){
|
||||||
|
Reference in New Issue
Block a user