diff --git a/src/player/Player.php b/src/player/Player.php index f3b2814df..e0e8ffa91 100644 --- a/src/player/Player.php +++ b/src/player/Player.php @@ -2233,7 +2233,7 @@ class Player extends Human implements CommandSender, ChunkListener, IPlayer{ /** * TODO: remove this */ - public function sendPosition(Vector3 $pos, ?float $yaw = null, ?float $pitch = null, int $mode = MovePlayerPacket::MODE_NORMAL) : void{ + protected function sendPosition(Vector3 $pos, ?float $yaw = null, ?float $pitch = null, int $mode = MovePlayerPacket::MODE_NORMAL) : void{ $this->getNetworkSession()->syncMovement($pos, $yaw, $pitch, $mode); $this->ySize = 0;