Fixed arm position to match vanilla (removed the rotation too)

This commit is contained in:
Sollace 2019-06-11 15:16:15 +02:00
parent 00fec6900a
commit 2abc56cb54

View file

@ -140,8 +140,9 @@ public class RenderPonyPlayer extends PlayerEntityRenderer implements IPonyRende
bindEntityTexture(player);
GlStateManager.pushMatrix();
GlStateManager.translatef(side == AbsoluteHand.LEFT ? 0.35F : -0.35F, -0.6F, 0);
GlStateManager.rotatef(side == AbsoluteHand.LEFT ? -90 : 90, 0, 1, 0);
float reflect = side == AbsoluteHand.LEFT ? 1 : -1;
GlStateManager.translatef(reflect * -0.1F, -0.74F, 0);
if (side == AbsoluteHand.LEFT) {
super.renderLeftArm(player);