rename float for direction speed in elytrafly

This commit is contained in:
noil 2019-11-17 17:58:10 -05:00
parent e0a245c60e
commit d638c2219b
1 changed files with 3 additions and 3 deletions

View File

@ -146,11 +146,11 @@ public final class ElytraFlyModule extends Module {
mc.player.capabilities.isFlying = true;
mc.player.capabilities.setFlySpeed(0.025f);
final double[] directionSpeed9b = MathUtil.directionSpeed(0.52f);
final double[] directionSpeedBypass = MathUtil.directionSpeed(0.52f);
if (mc.player.movementInput.moveStrafe != 0 || mc.player.movementInput.moveForward != 0) {
mc.player.motionX = directionSpeed9b[0];
mc.player.motionZ = directionSpeed9b[1];
mc.player.motionX = directionSpeedBypass[0];
mc.player.motionZ = directionSpeedBypass[1];
} else {
mc.player.motionX = 0;
mc.player.motionZ = 0;