Skip to content

Commit

Permalink
fix premature mob death and drops
Browse files Browse the repository at this point in the history
  • Loading branch information
tenplus1 committed Jul 7, 2022
1 parent ce7c4c1 commit 8e6fa64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
}
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 8e6fa64

Please sign in to comment.