diff options
| author | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-18 20:41:05 +0100 | 
|---|---|---|
| committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-09-18 20:41:05 +0100 | 
| commit | f1a30679aaa136cfdb7431cab628f2b428dc9de5 (patch) | |
| tree | 4958dcaaf31bd9df7b13333b3fdd6fcadf096912 | |
| parent | 6816158e8789104f2407b01677354904422c9025 (diff) | |
disable mob suffocation until stepheight glitch in engine fixed.
| -rw-r--r-- | api.lua | 4 | 
1 files changed, 2 insertions, 2 deletions
@@ -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  | 
