- Closes #25
This commit is contained in:
Leslie Krause 2020-05-17 13:32:00 -04:00
parent 5c77e58ecd
commit 5bd2aa6cac
1 changed files with 4 additions and 0 deletions

View File

@ -1322,6 +1322,10 @@ mobs.register_mob = function ( name, def )
attack = self.start_attack_action,
}
self.watch_players = table.copy( self.watch_players )
self.watch_spawnitems = table.copy( self.watch_spawnitems )
self.watch_wielditems = table.copy( self.watch_wielditems )
if staticdata then
local tmp = minetest.deserialize( staticdata )
if tmp and tmp.lifetimer then