mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 00:19:32 +01:00
Don't suffocate in ignore
This commit is contained in:
parent
f1ac073cb1
commit
a575124924
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
and (ndef.node_box == nil or ndef.node_box.type == "regular")
|
and (ndef.node_box == nil or ndef.node_box.type == "regular")
|
||||||
and (ndef.groups.disable_suffocation ~= 1)
|
and (ndef.groups.disable_suffocation ~= 1)
|
||||||
and (ndef.groups.opaque == 1)
|
and (ndef.groups.opaque == 1)
|
||||||
|
and (node_head ~= "ignore")
|
||||||
-- Check privilege, too
|
-- Check privilege, too
|
||||||
and (not minetest.check_player_privs(name, {noclip = true})) then
|
and (not minetest.check_player_privs(name, {noclip = true})) then
|
||||||
if player:get_hp() > 0 then
|
if player:get_hp() > 0 then
|
||||||
|
|
Loading…
Reference in a new issue