add eye height for baby skeleton. Fixes #5258

This commit is contained in:
Xander authored and Dave Smith committed 2019-03-10 18:37:42 -06:00
1 parent f6e13c2e83
commit d20364253d
1 file changed
+6
@@ -63,4 +63,10 @@ public class EntityBabySkeleton extends EntitySkeleton {
protected final void updateSize(float size) {
super.setSize(size, size + 0.4F);
}
//copied from base entity, as abstractskeleton overrides it
public float getEyeHeight()
{
return this.height * 0.85F;
}
}