0
0
Fork 0

fix walkover

This commit is contained in:
AFCMS 2021-03-16 17:31:29 +01:00
parent 834dfcf9af
commit f35f80d79a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ local timer = 0
minetest.register_globalstep(function(dtime)
timer = timer + dtime;
if timer >= 0.3 then
for _,player in ipairs(get_connected_players()) do
for _,player in pairs(get_connected_players()) do
local pp = player:get_pos()
pp.y = ceil(pp.y)
local loc = vector_add(pp, {x=0,y=-1,z=0})