mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-18 00:51:06 +01:00
magma no longer damages player on halfslabs
This commit is contained in:
parent
fac88fc53d
commit
9cd454f9d7
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue