From 99314fd5e0a3432727abf29dc2451f8a38be9448 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Sun, 7 Jul 2024 17:22:27 -0500 Subject: [PATCH] Change logging default and one log message --- mods/ENTITIES/mcl_mobs/spawning.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_mobs/spawning.lua b/mods/ENTITIES/mcl_mobs/spawning.lua index 69bc3000a..a455e7ae9 100644 --- a/mods/ENTITIES/mcl_mobs/spawning.lua +++ b/mods/ENTITIES/mcl_mobs/spawning.lua @@ -96,7 +96,7 @@ mcl_log("Percentage of hostile spawns are group: " .. hostile_group_percentage_s --do mobs spawn? local mobs_spawn = minetest.settings:get_bool("mobs_spawn", true) ~= false local spawn_protected = minetest.settings:get_bool("mobs_spawn_protected") ~= false -local logging = minetest.settings:get_bool("mcl_logging_mobs_spawn",true) +local logging = minetest.settings:get_bool("mcl_logging_mobs_spawn",false) local list_of_all_biomes = {} @@ -1045,7 +1045,7 @@ if mobs_spawn then if not spawning_position then fail_count = fail_count + 1 if fail_count > 16 then - minetest.log("action", "[Mobs spawn] Cannot find a valid spawn position after retries: " .. FIND_SPAWN_POS_RETRIES) + minetest.log("action", "[Mobs spawn] Cannot find a valid spawn position in last 16 attemtps") end return end