From c3ba88c380218a197839b7fd5b2868da8f4bb82c Mon Sep 17 00:00:00 2001 From: NoctisLabs <55993683+NoctisLabs@users.noreply.github.com> Date: Mon, 30 Sep 2019 20:38:54 -0700 Subject: [PATCH] -y bug Fix a bug that causes televators to act weird at negative y --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index a1d8187..98e07e9 100644 --- a/init.lua +++ b/init.lua @@ -113,7 +113,7 @@ minetest.register_globalstep(function(dtime) end if not delay[name] or delay[name] > 0.5 then - if minetest.get_node({x = pos.x, y = pos.y - 1, z = pos.z}).name == "an_televator:televator" then + if minetest.get_node({x = pos.x, y = pos.y - 0.5, z = pos.z}).name == "an_televator:televator" then local where local controls = player:get_player_control() if controls.jump then