zero the fall distance

This commit is contained in:
Holly Stubbs 2023-11-05 13:53:45 +00:00
parent 617cebe2e0
commit 0403ace046
Signed by: tgpholly
GPG key ID: B8583C4B7D18119E

View file

@ -24,7 +24,7 @@ export class EntityLiving extends Entity {
this.timeInWater = 0; this.timeInWater = 0;
this.headHeight = 1.62; this.headHeight = 1.62;
this.fallDistance = Number.MIN_VALUE; this.fallDistance = 0;
this.lastHealth = this.health; this.lastHealth = this.health;
} }