From f746e2a0c627723ed6bca47272cb614aa4c7e1e4 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 21 Aug 2017 05:19:05 +0200 Subject: [PATCH] Fix walkover mod --- mods/CORE/walkover/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/CORE/walkover/init.lua b/mods/CORE/walkover/init.lua index 35982d37ed..a4ab949b0a 100644 --- a/mods/CORE/walkover/init.lua +++ b/mods/CORE/walkover/init.lua @@ -4,7 +4,7 @@ minetest.register_globalstep(function(dtime) timer = timer + dtime; if timer >= 0.3 then for _,player in pairs(minetest.get_connected_players()) do - local loc = vector.add(player:getpos(),{x=0,y=-1,z=0}) + local loc = vector.add(vector.apply(player:getpos(), math.ceil), {x=0,y=-1,z=0}) if loc ~= nil then local nodeiamon = minetest.get_node(loc)