parent
5c77e58ecd
commit
5bd2aa6cac
4
init.lua
4
init.lua
|
@ -1322,6 +1322,10 @@ mobs.register_mob = function ( name, def )
|
||||||
attack = self.start_attack_action,
|
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
|
if staticdata then
|
||||||
local tmp = minetest.deserialize( staticdata )
|
local tmp = minetest.deserialize( staticdata )
|
||||||
if tmp and tmp.lifetimer then
|
if tmp and tmp.lifetimer then
|
||||||
|
|
Loading…
Reference in New Issue