Skip to content

Commit

Permalink
Merge pull request #19 from /issues/13-player-legs-do-not-rotate-with…
Browse files Browse the repository at this point in the history
…-train-correctly

Implement: Player legs do not rotate with train correctly
  • Loading branch information
der-fruhling authored Apr 22, 2024
2 parents d34368a + f14f356 commit 47bfe66
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ private void tickState(LocalPlayer player) {
persp.setLean(state.entity.pitch);
persp.setYaw(state.entity.yaw);
player.setYRot(player.getYRot() + state.getYawDelta());
player.setYBodyRot(player.getYRot());
}

public void onTickPlayer(final Player player) {
Expand Down

0 comments on commit 47bfe66

Please sign in to comment.