mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
fixes from npe 0.9 test
This commit is contained in:
parent
083ace7eb1
commit
385c8a1bc0
3 changed files with 14 additions and 7 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue