mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-07-08 03:10:22 +02:00
added entity removal to on_die custom functions
This commit is contained in:
2
api.lua
2
api.lua
@ -361,7 +361,7 @@ function check_for_death(self)
|
||||
if self.on_die then
|
||||
|
||||
self.on_die(self, pos)
|
||||
|
||||
self.object:remove()
|
||||
return true
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user