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
1 changed files with 2 additions and 2 deletions

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