remove invalid variables
This commit is contained in:
parent
589accfe6f
commit
935460b426
|
@ -163,13 +163,13 @@ public final class ElytraFlyModule extends Module {
|
|||
break;
|
||||
case CONTROL:
|
||||
final double[] directionSpeedControl = MathUtil.directionSpeed(this.speed.getValue());
|
||||
mc.player.motionY = -this.idlefall.getValue();
|
||||
mc.player.motionY = 0;
|
||||
mc.player.motionX = 0;
|
||||
mc.player.motionZ = 0;
|
||||
if (mc.player.movementInput.jump) {
|
||||
mc.player.motionY = this.upspd.getValue();
|
||||
mc.player.motionY = this.speed.getValue() / 2;
|
||||
} else if (mc.player.movementInput.sneak) {
|
||||
mc.player.motionY = -this.downspd.getValue();
|
||||
mc.player.motionY = -this.speed.getValue() / 2;
|
||||
}
|
||||
if (mc.player.movementInput.moveStrafe != 0 || mc.player.movementInput.moveForward != 0) {
|
||||
mc.player.motionX = directionSpeedControl[0];
|
||||
|
|
Loading…
Reference in New Issue