forked from Kimapr/nodecore-skyblock
push the void down
This commit is contained in:
parent
c95759525c
commit
5db8fa04cf
|
@ -278,9 +278,9 @@ minetest.register_globalstep(function(dt)
|
|||
cells[is.k].valid = false
|
||||
end
|
||||
local p = ref:get_pos()
|
||||
if p.y < -64 then
|
||||
ref:set_hp(ref:get_hp()-2,{reason="set_hp"})
|
||||
if p.y < -128 then
|
||||
ref:set_hp(ref:get_hp()-4,{reason="set_hp"})
|
||||
if p.y < -256 then
|
||||
local land = players[ref:get_player_name()]
|
||||
local pos
|
||||
if land then
|
||||
|
|
Loading…
Reference in New Issue