diff --git a/src/main/java/com/minelittlepony/render/RenderPony.java b/src/main/java/com/minelittlepony/render/RenderPony.java index c5719c2d..a1e258b9 100644 --- a/src/main/java/com/minelittlepony/render/RenderPony.java +++ b/src/main/java/com/minelittlepony/render/RenderPony.java @@ -157,6 +157,14 @@ public class RenderPony { y -= 0.25F; } + if (entity.isRiding()) { + y += entity.getRidingEntity().getEyeHeight(); + } + + if (entity.isPlayerSleeping()) { + y /= 2; + } + return initial + y; } }