mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +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;
|
||||
}
|
||||
|
||||
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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user