mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-17 16:41: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
|
if timer >= 0.3 then
|
||||||
for _, player in pairs(get_connected_players()) do
|
for _, player in pairs(get_connected_players()) do
|
||||||
local ppos = player:get_pos()
|
local ppos = player:get_pos()
|
||||||
ppos.y = ceil(ppos.y)
|
local npos = vector.add(ppos, vector.new(0, -0.1, 0))
|
||||||
local npos = vector.add(ppos, vector.new(0, -1, 0))
|
|
||||||
if npos then
|
if npos then
|
||||||
local node = get_node(npos)
|
local node = get_node(npos)
|
||||||
if node then
|
if node then
|
||||||
|
|
Loading…
Reference in a new issue