mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-05 10:20:11 +01:00
Need to set zza
This commit is contained in:
parent
bd50e42c52
commit
9cebd487f7
@ -121,7 +121,7 @@ public class PlayerMoveControl extends MoveControl {
|
|||||||
}
|
}
|
||||||
float movement = (float) (this.speedMod * this.entity.getAttribute(Attributes.MOVEMENT_SPEED).getValue());
|
float movement = (float) (this.speedMod * this.entity.getAttribute(Attributes.MOVEMENT_SPEED).getValue());
|
||||||
this.entity.setSpeed(movement);
|
this.entity.setSpeed(movement);
|
||||||
// this.entity.zza = movement;
|
this.entity.zza = movement;
|
||||||
if (shouldJump() || (dY >= NMS.getStepHeight(entity.getBukkitEntity()) && dXZ < 0.4D)) {
|
if (shouldJump() || (dY >= NMS.getStepHeight(entity.getBukkitEntity()) && dXZ < 0.4D)) {
|
||||||
this.jumpTicks = jumpTicks();
|
this.jumpTicks = jumpTicks();
|
||||||
this.jumpTicks /= 3;
|
this.jumpTicks /= 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user