1
0
Fork 0

Document the mobspawner doll spawning bug

This commit is contained in:
Wuzzy 2017-08-14 17:23:43 +02:00
parent 3c6e5841b4
commit 0f10f980a9
1 changed files with 3 additions and 2 deletions

View File

@ -144,8 +144,9 @@ local spawn_monsters = function(pos, elapsed)
The doll may not stay spawned if the monster spawner is placed far away from The doll may not stay spawned if the monster spawner is placed far away from
players, so we will check for its existance periodically when a player is nearby. players, so we will check for its existance periodically when a player is nearby.
This would happen almost always when the monster spawner is placed by the mapgen. This would happen almost always when the monster spawner is placed by the mapgen.
FIXME: Find out why the doll does not seem to spawn / despawns immediately when This is probably caused by a Minetest bug:
monster spawner is placed by mapgen. https://github.com/minetest/minetest/issues/4759
FIXME: Fix this horrible hack.
]] ]]
local doll = find_doll(pos) local doll = find_doll(pos)
if not doll then if not doll then