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 7c14079412
commit 0dcd925ae3

View file

@ -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
}
}