From d26568457f9c635417bd4495ecb0c14816039750 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 23 Mar 2023 17:16:16 +0000 Subject: [PATCH] Remove unneccessary setVisible() call. Why was this even here? Should fix issues with first person models --- .../client/render/entity/PlayerPonyRenderer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/main/java/com/minelittlepony/client/render/entity/PlayerPonyRenderer.java b/src/main/java/com/minelittlepony/client/render/entity/PlayerPonyRenderer.java index 1a7f3589..e3695d43 100644 --- a/src/main/java/com/minelittlepony/client/render/entity/PlayerPonyRenderer.java +++ b/src/main/java/com/minelittlepony/client/render/entity/PlayerPonyRenderer.java @@ -27,7 +27,6 @@ import net.minecraft.client.render.*; import net.minecraft.client.render.entity.EntityRendererFactory; import net.minecraft.client.render.entity.PlayerEntityRenderer; import net.minecraft.client.render.entity.feature.*; -import net.minecraft.client.render.entity.model.*; import net.minecraft.client.util.math.MatrixStack; import net.minecraft.text.Text; import net.minecraft.util.Arm; @@ -75,10 +74,6 @@ public class PlayerPonyRenderer extends PlayerEntityRenderer implements IPonyRen @Override protected void scale(AbstractClientPlayerEntity entity, MatrixStack stack, float tickDelta) { - if (getModel() instanceof PlayerEntityModel) { - ((PlayerEntityModel)getModel()).setVisible(true); - } - if (manager.getModel().getAttributes().isSitting) { stack.translate(0, entity.getHeightOffset(), 0); }