mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
headYaw rot changes
This commit is contained in:
parent
1b0366802f
commit
447638816e
5 changed files with 26 additions and 16 deletions
|
|
@ -24,7 +24,7 @@ class RotateHeadPacket extends RakNetDataPacket{
|
|||
$this->putInt(count($this->entities));
|
||||
foreach($this->entities as $d){
|
||||
$this->putInt($d[0]); //eid
|
||||
$this->putByte((int) ($d[1] / 360 / 0.0039062));
|
||||
$this->putByte((int) ($d[1] / 360 / 0.0039062)); //wraps 360 angle to 0xff
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue