1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-11-13 05:50:17 +01:00

fix premature mob death and drops

This commit is contained in:
tenplus1 2022-07-07 17:09:34 +01:00
parent ce7c4c1449
commit 8e6fa64f2d

View File

@ -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)