mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-30 07:57:59 +01:00
Center the preview models so rotating isn't as janked
This commit is contained in:
parent
40866cc22b
commit
33296e336c
1 changed files with 2 additions and 0 deletions
|
@ -52,6 +52,8 @@ public class RenderPonyModel extends RenderPlayerModel<EntityPonyModel> implemen
|
||||||
super.preRenderCallback(entity, ticks);
|
super.preRenderCallback(entity, ticks);
|
||||||
} else {
|
} else {
|
||||||
renderPony.preRenderCallback(entity, ticks);
|
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