From b290d4c7e7e3c03c9b5a8d4c7243dd9859ebe97e Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 26 Jun 2019 15:43:31 +0200 Subject: [PATCH] Fixed offset on swimming ponies --- .../com/minelittlepony/client/transform/PostureSwimming.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/client/transform/PostureSwimming.java b/src/main/java/com/minelittlepony/client/transform/PostureSwimming.java index 07435732..58cd4e36 100644 --- a/src/main/java/com/minelittlepony/client/transform/PostureSwimming.java +++ b/src/main/java/com/minelittlepony/client/transform/PostureSwimming.java @@ -19,7 +19,7 @@ public class PostureSwimming extends PostureFlight { protected double calculateIncline(PlayerEntity player, double motionX, double motionY, double motionZ) { double motionLerp = MathUtil.clampLimit(Math.sqrt(motionX * motionX + motionZ * motionZ) * 30, 1) / 2; - GlStateManager.translated(0, 0, -1); + GlStateManager.translated(0, 0.9, -1); return 90 + super.calculateIncline(player, motionX, motionY, motionZ) * motionLerp; }