Another one!

This commit is contained in:
Sollace 2019-07-07 21:33:42 +02:00
parent 6bf5c8990a
commit a39167ca11

View file

@ -79,7 +79,6 @@ public class RenderPony<T extends LivingEntity, M extends EntityModel<T> & IPony
// negate vanilla translations so the rider begins at the ridees feet. // negate vanilla translations so the rider begins at the ridees feet.
GlStateManager.translatef(0, -ridingEntity.getHeight(), 0); GlStateManager.translatef(0, -ridingEntity.getHeight(), 0);
@SuppressWarnings("unchecked")
IPony riderPony = renderer.getEntityPony((LivingEntity)ridingEntity); IPony riderPony = renderer.getEntityPony((LivingEntity)ridingEntity);
renderer.translateRider((LivingEntity)ridingEntity, riderPony, entity, pony, ticks); renderer.translateRider((LivingEntity)ridingEntity, riderPony, entity, pony, ticks);