This commit is contained in:
cewiko1x 2020-05-06 19:30:32 +02:00
parent e0b74e69a4
commit 9f767452a5
2 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ public class ModuleConfig extends Configurable {
public void onSave() {
JsonObject moduleJsonObject = new JsonObject();
moduleJsonObject.addProperty("Name", module.getDisplayName());
moduleJsonObject.addProperty("Alias", module.getCustomAlias());
moduleJsonObject.addProperty("Alias", module.getDisplayName());
moduleJsonObject.addProperty("Color", Integer.toHexString(module.getColor()).toUpperCase());
moduleJsonObject.addProperty("Hidden", module.isHidden());
moduleJsonObject.addProperty("Keybind", (module.getKey() != null) ? module.getKey() : "NONE");

View File

@ -167,9 +167,9 @@ public final class ElytraFlyModule extends Module {
mc.player.motionX = 0;
mc.player.motionZ = 0;
if (mc.player.movementInput.jump) {
mc.player.motionY = this.upspd.getValue();
mc.player.motionY = this.upspd.getValue();
} else if (mc.player.movementInput.sneak) {
mc.player.motionY = -this.downspd.getValue();
mc.player.motionY = -this.downspd.getValue();
}
if (mc.player.movementInput.moveStrafe != 0 || mc.player.movementInput.moveForward != 0) {
mc.player.motionX = directionSpeedControl[0];