diff --git a/src/network/mcpe/protocol/PlayerAuthInputPacket.php b/src/network/mcpe/protocol/PlayerAuthInputPacket.php index e1aeac239..0b80ff076 100644 --- a/src/network/mcpe/protocol/PlayerAuthInputPacket.php +++ b/src/network/mcpe/protocol/PlayerAuthInputPacket.php @@ -85,7 +85,7 @@ class PlayerAuthInputPacket extends DataPacket implements ServerboundPacket{ $result->inputMode = $inputMode; $result->playMode = $playMode; if($vrGazeDirection !== null){ - $this->vrGazeDirection = $vrGazeDirection->asVector3(); + $result->vrGazeDirection = $vrGazeDirection->asVector3(); } return $result; }