master #12

Merged
NO11 merged 149 commits from VoxeLibre/VoxeLibre:master into master 2021-11-12 22:46:33 +01:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 8f9f5cc936 - Show all commits

View File

@ -123,6 +123,9 @@ mobs.death_logic = function(self, dtime)
item_drop(self,false,1)
mobs.death_effect(self)
mcl_experience.throw_xp(self.object:get_pos(), math_random(self.xp_min, self.xp_max))
if self.on_die then
self.on_die(self, self.object:get_pos())
end
self.object:remove()
return
end