NetworkBinaryStream: do not round vectors directly on reading

fixes #3199
This commit is contained in:
Dylan K. Taylor
2020-05-31 20:17:42 +01:00
parent 2dc3cf8162
commit 5056754cea
2 changed files with 4 additions and 4 deletions

View File

@ -547,9 +547,9 @@ class NetworkBinaryStream extends BinaryStream{
*/
public function getVector3() : Vector3{
return new Vector3(
$this->getRoundedLFloat(4),
$this->getRoundedLFloat(4),
$this->getRoundedLFloat(4)
$this->getLFloat(),
$this->getLFloat(),
$this->getLFloat()
);
}