From ca94bfa860d08dfe5b6eb3f4ff266e33ea49d4df Mon Sep 17 00:00:00 2001 From: Matthew Messinger Date: Thu, 16 Aug 2018 16:51:16 -0400 Subject: [PATCH] Quick fix for weird first person fist. Fixes #90 --- .../render/player/RenderPonyPlayer.java | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/src/main/java/com/minelittlepony/render/player/RenderPonyPlayer.java b/src/main/java/com/minelittlepony/render/player/RenderPonyPlayer.java index fca3e4ca..93c4ea9c 100644 --- a/src/main/java/com/minelittlepony/render/player/RenderPonyPlayer.java +++ b/src/main/java/com/minelittlepony/render/player/RenderPonyPlayer.java @@ -29,7 +29,6 @@ import net.minecraft.client.renderer.entity.layers.LayerArrow; import net.minecraft.client.resources.DefaultPlayerSkin; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; -import net.minecraft.util.EnumHandSide; import net.minecraft.util.ResourceLocation; import java.util.Map; @@ -82,9 +81,11 @@ public class RenderPonyPlayer extends RenderPlayer implements IRenderPony renderPony = new RenderPony<>(this); + private final RenderPlayer renderPlayer; public RenderPonyPlayer(RenderManager manager, boolean useSmallArms, ModelWrapper model) { super(manager, useSmallArms); + renderPlayer = new RenderPlayer(manager, useSmallArms); mainModel = renderPony.setPonyModel(model); @@ -141,27 +142,12 @@ public class RenderPonyPlayer extends RenderPlayer implements IRenderPony