1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 09:40:21 +01:00

disable mob suffocation until stepheight glitch in engine fixed.

This commit is contained in:
TenPlus1 2017-09-18 20:41:05 +01:00
parent 6816158e87
commit f1a30679aa

View File

@ -643,7 +643,7 @@ local do_env_damage = function(self)
if check_for_death(self, "dps", {type = "environment",
pos = pos, node = self.standing_in}) then return end
end
--[[
--- suffocation inside solid node
if self.suffocation ~= 0
and nodef.walkable == true
@ -655,7 +655,7 @@ local do_env_damage = function(self)
if check_for_death(self, "suffocation", {type = "environment",
pos = pos, node = self.standing_in}) then return end
end
]]
check_for_death(self, "", {type = "unknown"})
end