From 93b08eb4f3b0aee8ff024ee45478fb38fdc6b6c1 Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Sat, 20 Apr 2019 14:22:49 -0400 Subject: [PATCH] cap boost to 4 --- neural/elytraFly.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neural/elytraFly.lua b/neural/elytraFly.lua index 6547c61..bebb557 100644 --- a/neural/elytraFly.lua +++ b/neural/elytraFly.lua @@ -98,7 +98,7 @@ local function run() os.sleep(0.1) elseif meta.motionY < -0.5 then -- falling fast - modules.launch(0, 270, -meta.motionY + 1) + modules.launch(0, 270, math.min(-meta.motionY + 1, 4)) Sound.play('entity.bat.takeoff') display(meta) os.sleep(0)