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