mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 00:09:39 +00:00
PlayerAuthInputPacket: Fix assigning variable in static context
This commit is contained in:
parent
b08c38f8f9
commit
216138a37e
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user