From c09e0a99e47696849989f16a5d464589469d096d Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Thu, 14 Feb 2019 23:23:30 -0500 Subject: [PATCH] elytra fly tweak --- neural/elytraFly.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neural/elytraFly.lua b/neural/elytraFly.lua index 81d96b9..066ee42 100644 --- a/neural/elytraFly.lua +++ b/neural/elytraFly.lua @@ -7,9 +7,10 @@ local os = _G.os while true do local meta = modules.getMetaOwner() + if not meta.isSneaking and meta.isElytraFlying then - if meta.pitch < 0 then -- looking up + if meta.pitch < 0 then -- looking up modules.launch(meta.yaw, meta.pitch, -meta.pitch / 22.5) --Sound.play('entity.bobber.throw') @@ -20,7 +21,7 @@ while true do os.sleep(0.1) elseif not meta.isSneaking and meta.motionY < -0.8 then - print('fallling...') + print('falling...') modules.launch(0, 270, 2) Sound.play('entity.bat.takeoff') os.sleep(0.1)