From f1a30679aaa136cfdb7431cab628f2b428dc9de5 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Mon, 18 Sep 2017 20:41:05 +0100 Subject: [PATCH] disable mob suffocation until stepheight glitch in engine fixed. --- api.lua | 4 ++-- 1 file 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