fixes from npe 0.9 test

This commit is contained in:
root 2023-08-31 04:09:08 +03:00
parent 083ace7eb1
commit 385c8a1bc0
3 changed files with 14 additions and 7 deletions

View file

@ -19,8 +19,8 @@ class MovePlayerPacket extends RakNetDataPacket{
$this->y = $this->getFloat();
$this->z = $this->getFloat();
$this->yaw = $this->getFloat();
$this->bodyYaw = $this->getFloat();
$this->pitch = $this->getFloat();
$this->bodyYaw = $this->getFloat();
$this->teleport = ($this->getByte() & 0x80) > 0;
}
@ -36,4 +36,4 @@ class MovePlayerPacket extends RakNetDataPacket{
$this->putByte($this->teleport ? 0x80 : 0x00);
}
}
}