From e81b5ef58aa6cd16ecf4fa7e7e1d54d226480e3a Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Mon, 30 Mar 2020 16:52:36 +0200 Subject: [PATCH] Another nil check in mcl_mobs --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index c35a04539..8244624c2 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -921,7 +921,7 @@ local do_env_damage = function(self) end end - check_for_death(self, "", {type = "unknown"}) + return check_for_death(self, "", {type = "unknown"}) end