From b0c621b4b658f75f24e4fa038548a92ff3d948e7 Mon Sep 17 00:00:00 2001 From: Sollace Date: Tue, 23 Feb 2021 23:48:44 +0200 Subject: [PATCH] Fixed inverted entities looking up when they should be looking down --- .../unicopia/client/render/WorldRenderDelegate.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java b/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java index 81dfeb19..f53a1f11 100644 --- a/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java +++ b/src/main/java/com/minelittlepony/unicopia/client/render/WorldRenderDelegate.java @@ -185,6 +185,9 @@ public class WorldRenderDelegate { if (entity instanceof PlayerEntity) { entity.prevYaw *= -1; entity.yaw *= -1; + + entity.prevPitch *= -1; + entity.pitch *= -1; } if (entity instanceof LivingEntity) { @@ -195,7 +198,5 @@ public class WorldRenderDelegate { living.headYaw = -living.headYaw; living.prevHeadYaw = -living.prevHeadYaw; } - entity.prevPitch *= -1; - entity.pitch *= -1; } }