From 4cfd1ee479d3257892ad9f11c91dd027942deac5 Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Thu, 22 Jun 2023 22:34:29 -0400 Subject: [PATCH] floatland - fix mgv7 detection, cos floatlands only works with mg7 --- mods/floatland/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/floatland/init.lua b/mods/floatland/init.lua index a1f9dbc..6451391 100644 --- a/mods/floatland/init.lua +++ b/mods/floatland/init.lua @@ -1,7 +1,7 @@ -- minetest.clear_registered_biomes() -- do not regenerate, we want to combine it! -- 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 captures_float = string.match(mgv7_spflags, "floatlands") local captures_nofloat = string.match(mgv7_spflags, "nofloatlands")