ElytraFly: Add value for disabling NoHunger

This commit is contained in:
noil 2021-03-06 09:31:29 -05:00
parent 8280f4a1f3
commit cf3e062076
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}