mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-25 10:52:25 +01:00
Don't suffocate in ignore
This commit is contained in:
parent
f1ac073cb1
commit
a575124924
@ -126,6 +126,7 @@ minetest.register_globalstep(function(dtime)
|
||||
and (ndef.node_box == nil or ndef.node_box.type == "regular")
|
||||
and (ndef.groups.disable_suffocation ~= 1)
|
||||
and (ndef.groups.opaque == 1)
|
||||
and (node_head ~= "ignore")
|
||||
-- Check privilege, too
|
||||
and (not minetest.check_player_privs(name, {noclip = true})) then
|
||||
if player:get_hp() > 0 then
|
||||
|
Loading…
Reference in New Issue
Block a user