From 814dac641452d053091b511b8b01756edafd5486 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 6 Dec 2023 15:18:39 +0000 Subject: [PATCH] Fix seapony skins. Might have been a simpler issue than I thought --- .../client/render/entity/AquaticPlayerPonyRenderer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/client/render/entity/AquaticPlayerPonyRenderer.java b/src/main/java/com/minelittlepony/client/render/entity/AquaticPlayerPonyRenderer.java index 0a2a5705..fcb70c05 100644 --- a/src/main/java/com/minelittlepony/client/render/entity/AquaticPlayerPonyRenderer.java +++ b/src/main/java/com/minelittlepony/client/render/entity/AquaticPlayerPonyRenderer.java @@ -65,8 +65,9 @@ public class AquaticPlayerPonyRenderer extends PlayerPonyRenderer { } private void updateSeaponyState(AbstractClientPlayerEntity player) { + wet = PonyPosture.isSeaponyModifier(player); if (!(player instanceof PreviewModel)) { - float state = PonyPosture.isSeaponyModifier(player) ? 100 : 0; + float state = wet ? 100 : 0; float interpolated = getInternalRenderer().getModels().body().getAttributes().getMainInterpolator().interpolate("seapony_state", state, 5); if (!MathUtil.compareFloats(interpolated, state)) {