mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Fixed: Model attributes aren't updated for the first person's view
This commit is contained in:
parent
f3512f3f7c
commit
53b2d0f370
1 changed files with 2 additions and 2 deletions
|
@ -50,8 +50,6 @@ public class RenderPony<T extends LivingEntity, M extends EntityModel<T> & IPony
|
|||
public void preRenderCallback(T entity, float ticks) {
|
||||
updateModel(entity);
|
||||
|
||||
getModel().updateLivingState(entity, pony);
|
||||
|
||||
float s = getScaleFactor();
|
||||
GlStateManager.scalef(s, s, s);
|
||||
enableModelRenderProfile();
|
||||
|
@ -135,6 +133,8 @@ public class RenderPony<T extends LivingEntity, M extends EntityModel<T> & IPony
|
|||
pony = renderer.getEntityPony(entity);
|
||||
playerModel.apply(pony.getMetadata());
|
||||
pony.updateForEntity(entity);
|
||||
|
||||
getModel().updateLivingState(entity, pony);
|
||||
}
|
||||
|
||||
public IPony getPony(T entity) {
|
||||
|
|
Loading…
Reference in a new issue