master #6

Merged
epCode merged 7 commits from VoxeLibre/VoxeLibre:master into master 2021-02-06 01:10:01 +01:00
1 changed files with 5 additions and 5 deletions
Showing only changes of commit 32cf25dc17 - Show all commits

View File

@ -425,13 +425,13 @@ end
minetest.register_on_respawnplayer(mcl_spawn.spawn) minetest.register_on_respawnplayer(mcl_spawn.spawn)
function mcl_spawn.shadow_worker() function mcl_spawn.shadow_worker()
if #biome_ids > 1 then if not searched then
searched = true
if #biome_ids < 1 then
for _, biome_name in pairs(biomes_white_list) do for _, biome_name in pairs(biomes_white_list) do
table.insert(biome_ids, minetest.get_biome_id(biome_name)) table.insert(biome_ids, minetest.get_biome_id(biome_name))
end end
end end
if not searched then
searched = true
mcl_spawn.search() mcl_spawn.search()
minetest.log("action", "[mcl_spawn] Started world spawn point search") minetest.log("action", "[mcl_spawn] Started world spawn point search")
end end