fix npc jumping
This commit is contained in:
parent
669fc77eab
commit
c201df68b2
1 changed files with 1 additions and 1 deletions
|
@ -3214,7 +3214,7 @@ public abstract class EntityNPC extends EntityLiving
|
||||||
|
|
||||||
protected float getJumpUpwardsMotion()
|
protected float getJumpUpwardsMotion()
|
||||||
{
|
{
|
||||||
return 0.42F * (this.height /* this.getHeight() * 1.8f */ + 2.2f) / 4.0f;
|
return 0.42F * ((this.height < 1.9f ? 1.9f : this.height) /* this.getHeight() * 1.8f */ + 2.2f) / 4.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAIMoveSpeed(float speedIn)
|
public void setAIMoveSpeed(float speedIn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue