PlayerAuthInputPacket: Fix assigning variable in static context

This commit is contained in:
Luke 2019-12-17 13:42:20 +00:00 committed by SOFe
parent b08c38f8f9
commit 216138a37e
No known key found for this signature in database
GPG Key ID: 6606A3CFCC04EC70

View File

@ -85,7 +85,7 @@ class PlayerAuthInputPacket extends DataPacket/* implements ServerboundPacket*/{
$result->inputMode = $inputMode; $result->inputMode = $inputMode;
$result->playMode = $playMode; $result->playMode = $playMode;
if($vrGazeDirection !== null){ if($vrGazeDirection !== null){
$this->vrGazeDirection = $vrGazeDirection->asVector3(); $result->vrGazeDirection = $vrGazeDirection->asVector3();
} }
return $result; return $result;
} }