diff --git a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java index c8519109..5cb27f3c 100644 --- a/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java +++ b/src/hdskins/java/com/voxelmodpack/hdskins/gui/RenderPlayerModel.java @@ -102,6 +102,7 @@ public class RenderPlayerModel extends RenderLiving player.bipedRightLegwear.isHidden = !parts.contains(EnumPlayerModelParts.RIGHT_PANTS_LEG); player.bipedLeftArmwear.isHidden = !parts.contains(EnumPlayerModelParts.LEFT_SLEEVE); player.bipedRightArmwear.isHidden = !parts.contains(EnumPlayerModelParts.RIGHT_SLEEVE); + player.isSneak = entity.isSneaking(); player.leftArmPose = ArmPose.EMPTY; player.rightArmPose = ArmPose.EMPTY; @@ -110,7 +111,7 @@ public class RenderPlayerModel extends RenderLiving double offset = entity.getYOffset() + entity.posY + 0.01; - if (entity.isSneaking()) { + if (player.isSneak) { y -= 0.125D; }