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