From ee905642c2cdfaa3be3eb5c2af7ec75599ffd41e Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Thu, 22 Apr 2021 17:56:38 -0400 Subject: [PATCH] Add temporary warning debug to spawning algorithm output --- mods/ENTITIES/mcl_mobs/api/spawning.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/ENTITIES/mcl_mobs/api/spawning.lua b/mods/ENTITIES/mcl_mobs/api/spawning.lua index 9dd9d150f..ed38ce25e 100644 --- a/mods/ENTITIES/mcl_mobs/api/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/api/spawning.lua @@ -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