mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 22:38:00 +01:00
Fixed item position whilst riding
This commit is contained in:
parent
343d2656cf
commit
5ce82e42ce
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ public class LayerHeldPonyItem<T extends EntityLivingBase> extends AbstractPonyL
|
||||||
GlStateManager.translate(0, 0.2F, 0);
|
GlStateManager.translate(0, 0.2F, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (entity.isRiding()) {
|
||||||
|
GlStateManager.translate(0, -0.2F, -0.5F);
|
||||||
|
}
|
||||||
|
|
||||||
GlStateManager.rotate(-90, 1, 0, 0);
|
GlStateManager.rotate(-90, 1, 0, 0);
|
||||||
GlStateManager.rotate(hand == EnumHandSide.LEFT ? 185 : -185, 0, 1, 0);
|
GlStateManager.rotate(hand == EnumHandSide.LEFT ? 185 : -185, 0, 1, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue