summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2017-09-18 20:41:05 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2017-09-18 20:41:05 +0100
commitf1a30679aaa136cfdb7431cab628f2b428dc9de5 (patch)
tree4958dcaaf31bd9df7b13333b3fdd6fcadf096912
parent6816158e8789104f2407b01677354904422c9025 (diff)
disable mob suffocation until stepheight glitch in engine fixed.
-rw-r--r--api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/api.lua b/api.lua
index cc761a0..b95b6d2 100644
--- a/api.lua
+++ b/api.lua
@@ -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