mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-01 07:39:57 +00:00
Player: removed checkBlockCollision() override
This commit is contained in:
parent
4b03dbebba
commit
4ce1f228e6
@ -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){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user