mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-28 13:53:45 +01:00
Fix walkover mod
This commit is contained in:
parent
37891e7f40
commit
f746e2a0c6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user