diff --git a/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/CreateTrainPerspectiveMod.java b/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/CreateTrainPerspectiveMod.java index 184aae1..18b279b 100644 --- a/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/CreateTrainPerspectiveMod.java +++ b/common/src/main/java/net/derfruhling/minecraft/create/trainperspective/CreateTrainPerspectiveMod.java @@ -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) {