Center the preview models so rotating isn't as janked

This commit is contained in:
Sollace 2018-07-28 12:30:46 +02:00
parent 40866cc22b
commit 33296e336c

View file

@ -52,6 +52,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
}
}