Merge pull request 'Add temporary warning debug to spawning algorithm output' (#1601) from jordan4ibanez/MineClone2:mineclone5 into mineclone5
Reviewed-on: https://git.minetest.land/MineClone2/MineClone2/pulls/1601mineclone5
commit
20abb4e864
|
@ -659,10 +659,12 @@ if mobs_spawn then
|
|||
|
||||
--found a mob, exit out of loop
|
||||
if not skip then
|
||||
minetest.log("warning", "found mob:"..temp_def.name)
|
||||
--print("found mob:"..temp_def.name)
|
||||
mob_def = table_copy(temp_def)
|
||||
break
|
||||
else
|
||||
minetest.log("warning", "deleting temp index "..temp_index)
|
||||
--print("deleting temp index")
|
||||
table_remove(mob_library_worker_table, temp_index)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue