Fix janky player movement (whoops)
This commit is contained in:
parent
9c5c58e51d
commit
7def0e3835
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ class EntityPlayer extends EntityLiving {
|
||||||
onTick() {
|
onTick() {
|
||||||
super.onTick();
|
super.onTick();
|
||||||
|
|
||||||
this.absX = Math.floor(this.x);
|
this.absX = this.x.toFixed(2);
|
||||||
this.absY = Math.floor(this.y);
|
this.absY = this.y.toFixed(2);
|
||||||
this.absZ = Math.floor(this.z);
|
this.absZ = this.z.toFixed(2);
|
||||||
|
|
||||||
this.absYaw = Math.floor(this.yaw);
|
this.absYaw = Math.floor(this.yaw);
|
||||||
this.absPitch = Math.floor(this.pitch);
|
this.absPitch = Math.floor(this.pitch);
|
||||||
|
|
Loading…
Reference in a new issue