From 9f767452a5786cad8c824c5a51f9d733021807f2 Mon Sep 17 00:00:00 2001 From: cewiko1x <62911010+cewiko1x@users.noreply.github.com> Date: Wed, 6 May 2020 19:30:32 +0200 Subject: [PATCH] Final --- .../java/me/rigamortis/seppuku/impl/config/ModuleConfig.java | 2 +- .../seppuku/impl/module/movement/ElytraFlyModule.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/me/rigamortis/seppuku/impl/config/ModuleConfig.java b/src/main/java/me/rigamortis/seppuku/impl/config/ModuleConfig.java index d0ca6cb..67baa8d 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/config/ModuleConfig.java +++ b/src/main/java/me/rigamortis/seppuku/impl/config/ModuleConfig.java @@ -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"); diff --git a/src/main/java/me/rigamortis/seppuku/impl/module/movement/ElytraFlyModule.java b/src/main/java/me/rigamortis/seppuku/impl/module/movement/ElytraFlyModule.java index 2552c5c..3192cb0 100644 --- a/src/main/java/me/rigamortis/seppuku/impl/module/movement/ElytraFlyModule.java +++ b/src/main/java/me/rigamortis/seppuku/impl/module/movement/ElytraFlyModule.java @@ -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];