From cf3e0620766f200194b15a0d7006efb3e504b84e Mon Sep 17 00:00:00 2001 From: noil Date: Sat, 6 Mar 2021 09:31:29 -0500 Subject: [PATCH] ElytraFly: Add value for disabling NoHunger --- .../seppuku/impl/module/movement/ElytraFlyModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 0499498..7514979 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 @@ -164,7 +164,7 @@ public final class ElytraFlyModule extends Module { // automatic jump start if (this.autoStart.getValue()) { if (!mc.player.isElytraFlying()) { - if (mc.player.onGround) { + if (mc.player.onGround && this.disableNoHunger.getValue()) { this.startDelayTimer.reset(); }