From 8e6fa64f2de398cfc654011f3935fe9e9fcaf6bd Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Thu, 7 Jul 2022 17:09:34 +0100 Subject: [PATCH] fix premature mob death and drops --- api.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.lua b/api.lua index f528a67..6fdf5c7 100644 --- a/api.lua +++ b/api.lua @@ -28,7 +28,7 @@ local use_cmi = minetest.global_exists("cmi") mobs = { mod = "redo", - version = "20220704", + version = "20220707", intllib = S, invis = minetest.global_exists("invisibility") and invisibility or {} } @@ -3280,7 +3280,7 @@ function mob_class:mob_activate(staticdata, def, dtime) if type(self.armor) == "table" then armor = table_copy(self.armor) else - armor = {fleshy = self.armor} -- immortal = 1 + armor = {fleshy = self.armor, immortal = 1} end self.object:set_armor_groups(armor)