Skip to content

Commit

Permalink
fix rotatehead
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofaa2 committed Feb 22, 2024
1 parent c374b5f commit c7b486f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,9 @@ public boolean hasVelocity() {
}

public void rotateHead(float yaw, float pitch) {
sendPacketToViewers(
new WrapperPlayServerEntityRotation(entityId, yaw, pitch, onGround)
sendPacketsToViewers(
new WrapperPlayServerEntityRotation(entityId, yaw, pitch, onGround),
new WrapperPlayServerEntityHeadLook(entityId, yaw)
);
}

Expand Down

0 comments on commit c7b486f

Please sign in to comment.