mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
add eye height for baby skeleton. Fixes #5258
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user