mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
MovePlayerPacket fixed
This commit is contained in:
parent
61ffae58fa
commit
7f70c87a38
2 changed files with 7 additions and 3 deletions
|
|
@ -1360,7 +1360,7 @@ class Player{
|
|||
$len += strlen($move->buffer) + 1;
|
||||
++$packets;
|
||||
$moveSent = true;
|
||||
}else if($e->headYaw != $e->lastHeadYaw){
|
||||
}else if($this->PROTOCOL > ProtocolInfo12::CURRENT_PROTOCOL_12 && $e->headYaw != $e->lastHeadYaw){
|
||||
$headyaw = new RotateHeadPacket();
|
||||
$headyaw->eid = $e->eid;
|
||||
$headyaw->yaw = $e->headYaw;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue