Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for #187
  • Loading branch information
DisasterMoo committed Jul 23, 2019
1 parent 92058cc commit 22f56c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Expand Up @@ -252,6 +252,13 @@ public boolean isChild()
return this.getAge() == Age.CHILD;
}

@Override
public void setScaleForAge(boolean child)
{
float ageScale = 1 / (2.0F - getPercentToAdulthood());
this.setScale(ageScale);
}

/**
* Used by models renderer to scale the size of the animal
*
Expand Down
Expand Up @@ -49,7 +49,7 @@ public EntityDeerTFC(World worldIn)
public EntityDeerTFC(World worldIn, Gender gender, int birthDay)
{
super(worldIn, gender, birthDay);
this.setSize(0.9F, 1.3F);
this.setSize(1.3F, 1.9F);
}

@Override
Expand Down

0 comments on commit 22f56c4

Please sign in to comment.