From 9cd454f9d7ff0468ae67914b53cd74f82d3262aa Mon Sep 17 00:00:00 2001 From: Sumyjkl Date: Tue, 26 Jul 2022 23:16:14 +1000 Subject: [PATCH] magma no longer damages player on halfslabs --- mods/CORE/walkover/init.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mods/CORE/walkover/init.lua b/mods/CORE/walkover/init.lua index eb9de4218..7fa7c7aab 100644 --- a/mods/CORE/walkover/init.lua +++ b/mods/CORE/walkover/init.lua @@ -31,8 +31,7 @@ minetest.register_globalstep(function(dtime) if timer >= 0.3 then for _, player in pairs(get_connected_players()) do local ppos = player:get_pos() - ppos.y = ceil(ppos.y) - local npos = vector.add(ppos, vector.new(0, -1, 0)) + local npos = vector.add(ppos, vector.new(0, -0.1, 0)) if npos then local node = get_node(npos) if node then