mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-23 00:55:57 +00:00
Fixed undefined $data on RotateHeadPacket
This commit is contained in:
parent
6046b263dd
commit
072d0589d2
@ -1495,7 +1495,7 @@ class Player{
|
||||
$this->teleport($this->lastCorrect, $this->entity->yaw, $this->entity->pitch, false);
|
||||
}
|
||||
}else{
|
||||
$this->entity->setPosition($this->entity, $data["yaw"], $data["pitch"]);
|
||||
$this->entity->setPosition($this->entity, $packet->yaw, $packet->pitch);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user