mirror of
https://github.com/seppukudevelopment/seppuku
synced 2024-12-26 08:32:06 +00:00
Final
This commit is contained in:
parent
e0b74e69a4
commit
9f767452a5
@ -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");
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user