flowers: disable spawns
This commit is contained in:
parent
2eaf3347e4
commit
54704d6d69
@ -80,7 +80,7 @@ end
|
|||||||
--
|
--
|
||||||
-- All other biome API mapgens
|
-- All other biome API mapgens
|
||||||
--
|
--
|
||||||
|
--[[
|
||||||
local function register_flower(seed, name)
|
local function register_flower(seed, name)
|
||||||
minetest.register_decoration({
|
minetest.register_decoration({
|
||||||
deco_type = "simple",
|
deco_type = "simple",
|
||||||
@ -156,7 +156,7 @@ function flowers.register_decorations()
|
|||||||
|
|
||||||
register_waterlily()
|
register_waterlily()
|
||||||
end
|
end
|
||||||
|
]]
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Detect mapgen to select functions
|
-- Detect mapgen to select functions
|
||||||
@ -168,6 +168,6 @@ end
|
|||||||
local mg_name = minetest.get_mapgen_setting("mg_name")
|
local mg_name = minetest.get_mapgen_setting("mg_name")
|
||||||
if mg_name == "v6" then
|
if mg_name == "v6" then
|
||||||
flowers.register_mgv6_decorations()
|
flowers.register_mgv6_decorations()
|
||||||
elseif mg_name ~= "singlenode" then
|
--elseif mg_name ~= "singlenode" then
|
||||||
flowers.register_decorations()
|
-- flowers.register_decorations()
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user