mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-19 19:04:23 +01:00
(Backport) Fixed: Model attributes aren't updated for the first person's view
This commit is contained in:
parent
e6ded72a43
commit
452817778c
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,6 @@ public class RenderPony<T extends EntityLivingBase> {
|
|||
public void preRenderCallback(T entity, float ticks) {
|
||||
updateModel(entity);
|
||||
|
||||
ponyModel.updateLivingState(entity, pony);
|
||||
|
||||
float s = getScaleFactor();
|
||||
GlStateManager.scale(s, s, s);
|
||||
enableModelRenderProfile();
|
||||
|
@ -140,6 +138,8 @@ public class RenderPony<T extends EntityLivingBase> {
|
|||
public void updateModel(T entity) {
|
||||
pony = renderer.getEntityPony(entity);
|
||||
playerModel.apply(pony.getMetadata());
|
||||
|
||||
ponyModel.updateLivingState(entity, pony);
|
||||
}
|
||||
|
||||
public IPony getPony(T entity) {
|
||||
|
|
Loading…
Reference in a new issue