From 9f5e6eb85fbf2c772603ca2d36e046dc384c8772 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Fri, 6 Mar 2020 13:23:53 +0000 Subject: [PATCH] added missing return value to do_env_damage --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 1c2bab2..e51ccd3 100644 --- a/api.lua +++ b/api.lua @@ -971,7 +971,7 @@ function mob_class:do_env_damage() pos = pos, node = self.standing_in}) then return true end end ]] - self:check_for_death({type = "unknown"}) + return self:check_for_death({type = "unknown"}) end