floatland - fix mgv7 detection, cos floatlands only works with mg7
This commit is contained in:
parent
e2116ce5c6
commit
4cfd1ee479
@ -1,7 +1,7 @@
|
|||||||
-- minetest.clear_registered_biomes() -- do not regenerate, we want to combine it!
|
-- minetest.clear_registered_biomes() -- do not regenerate, we want to combine it!
|
||||||
|
|
||||||
-- Get setting or default
|
-- Get setting or default
|
||||||
local mgv = minetest.get_mapgen_setting("mg_name") or nil
|
local mgv7 = minetest.get_mapgen_setting("mg_name") or nil
|
||||||
local mgv7_spflags = minetest.get_mapgen_setting("mgv7_spflags") or "mountains, ridges, floatlands, caverns"
|
local mgv7_spflags = minetest.get_mapgen_setting("mgv7_spflags") or "mountains, ridges, floatlands, caverns"
|
||||||
local captures_float = string.match(mgv7_spflags, "floatlands")
|
local captures_float = string.match(mgv7_spflags, "floatlands")
|
||||||
local captures_nofloat = string.match(mgv7_spflags, "nofloatlands")
|
local captures_nofloat = string.match(mgv7_spflags, "nofloatlands")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user