diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 56846fc47..f8b67ce8c 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -1345,7 +1345,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ return $block->isSolid() and !$block->isTransparent() and $block->collidesWithBB($this->getBoundingBox()); } - public function move(float $dx, float $dy, float $dz) : void{ + protected function move(float $dx, float $dy, float $dz) : void{ $this->blocksAround = null; Timings::$entityMoveTimer->startTiming();