mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 14:27:59 +01:00
Rotate player arms to put the front up
This commit is contained in:
parent
d59ec9514f
commit
09f8a99066
1 changed files with 3 additions and 1 deletions
|
@ -152,8 +152,10 @@ public class RenderPonyPlayer extends RenderPlayer implements IRenderPony<Abstra
|
|||
protected void renderArm(AbstractClientPlayer player, EnumHandSide side) {
|
||||
renderPony.updateModel(player);
|
||||
bindEntityTexture(player);
|
||||
|
||||
GlStateManager.pushMatrix();
|
||||
GlStateManager.translate(side == EnumHandSide.LEFT ? 0.2 : -0.2, -0.65, 0);
|
||||
GlStateManager.translate(side == EnumHandSide.LEFT ? 0.35 : -0.35, -0.6, 0);
|
||||
GlStateManager.rotate(side == EnumHandSide.LEFT ? -90 : 90, 0, 1, 0);
|
||||
|
||||
if (side == EnumHandSide.LEFT) {
|
||||
super.renderLeftArm(player);
|
||||
|
|
Loading…
Reference in a new issue