mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-01 15:01:06 +01:00
Add temporary warning debug to spawning algorithm output
This commit is contained in:
parent
2cef9e7cca
commit
ee905642c2
1 changed files with 2 additions and 0 deletions
|
@ -659,10 +659,12 @@ if mobs_spawn then
|
||||||
|
|
||||||
--found a mob, exit out of loop
|
--found a mob, exit out of loop
|
||||||
if not skip then
|
if not skip then
|
||||||
|
minetest.log("warning", "found mob:"..temp_def.name)
|
||||||
--print("found mob:"..temp_def.name)
|
--print("found mob:"..temp_def.name)
|
||||||
mob_def = table_copy(temp_def)
|
mob_def = table_copy(temp_def)
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
|
minetest.log("warning", "deleting temp index "..temp_index)
|
||||||
--print("deleting temp index")
|
--print("deleting temp index")
|
||||||
table_remove(mob_library_worker_table, temp_index)
|
table_remove(mob_library_worker_table, temp_index)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue