@@ -1445,7 +1445,6 @@ end
1445
1445
1446
1446
1447
1447
-- Biomes for floatlands
1448
- -- Used when mgv7 'biomerepeat' flag is false
1449
1448
1450
1449
-- TODO Temporary simple biomes to be replaced by special floatland biomes later.
1451
1450
@@ -2018,10 +2017,9 @@ end
2018
2017
2019
2018
-- Get setting or default
2020
2019
local mgv7_spflags = minetest .get_mapgen_setting (" mgv7_spflags" ) or
2021
- " mountains, ridges, nofloatlands, caverns, biomerepeat "
2020
+ " mountains, ridges, nofloatlands, caverns"
2022
2021
local captures_float = string.match (mgv7_spflags , " floatlands" )
2023
2022
local captures_nofloat = string.match (mgv7_spflags , " nofloatlands" )
2024
- local captures_nobiorep = string.match (mgv7_spflags , " nobiomerepeat" )
2025
2023
2026
2024
-- Get setting or default
2027
2025
-- Make global for mods to use to register floatland biomes
@@ -2039,12 +2037,11 @@ local mg_name = minetest.get_mapgen_setting("mg_name")
2039
2037
if mg_name == " v6" then
2040
2038
default .register_mgv6_ores ()
2041
2039
default .register_mgv6_decorations ()
2040
+ -- Need to check for 'nofloatlands' because that contains
2041
+ -- 'floatlands' which makes the second condition true.
2042
2042
elseif mg_name == " v7" and
2043
2043
captures_float == " floatlands" and
2044
- -- Need to check for 'nofloatlands' because that contains
2045
- -- 'floatlands' which makes the second condition true.
2046
- captures_nofloat ~= " nofloatlands" and
2047
- captures_nobiorep == " nobiomerepeat" then
2044
+ captures_nofloat ~= " nofloatlands" then
2048
2045
-- Mgv7 with floatlands and floatland biomes
2049
2046
default .register_biomes (default .mgv7_shadow_limit - 1 )
2050
2047
default .register_floatland_biomes (
0 commit comments