Fixed item position whilst riding

This commit is contained in:
Sollace 2018-08-22 14:11:03 +02:00
parent 343d2656cf
commit 5ce82e42ce

View file

@ -60,6 +60,10 @@ public class LayerHeldPonyItem<T extends EntityLivingBase> extends AbstractPonyL
GlStateManager.translate(0, 0.2F, 0);
}
if (entity.isRiding()) {
GlStateManager.translate(0, -0.2F, -0.5F);
}
GlStateManager.rotate(-90, 1, 0, 0);
GlStateManager.rotate(hand == EnumHandSide.LEFT ? 185 : -185, 0, 1, 0);