mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Center the preview models so rotating isn't as janked
This commit is contained in:
parent
63bd448c05
commit
2284fced64
1 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,8 @@ public class RenderPonyModel extends RenderPlayerModel<EntityPonyModel> implemen
|
|||
super.preRenderCallback(entity, ticks);
|
||||
} else {
|
||||
renderPony.preRenderCallback(entity, ticks);
|
||||
|
||||
GlStateManager.translate(0, 0, -entity.width / 2); // move us to the center of the shadow
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue