mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-04 23:31:05 +01:00
Change logging default and one log message
This commit is contained in:
parent
5b29aac866
commit
99314fd5e0
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ mcl_log("Percentage of hostile spawns are group: " .. hostile_group_percentage_s
|
||||||
--do mobs spawn?
|
--do mobs spawn?
|
||||||
local mobs_spawn = minetest.settings:get_bool("mobs_spawn", true) ~= false
|
local mobs_spawn = minetest.settings:get_bool("mobs_spawn", true) ~= false
|
||||||
local spawn_protected = minetest.settings:get_bool("mobs_spawn_protected") ~= 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 = {}
|
local list_of_all_biomes = {}
|
||||||
|
|
||||||
|
@ -1045,7 +1045,7 @@ if mobs_spawn then
|
||||||
if not spawning_position then
|
if not spawning_position then
|
||||||
fail_count = fail_count + 1
|
fail_count = fail_count + 1
|
||||||
if fail_count > 16 then
|
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
|
end
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue