flowers: disable spawns

This commit is contained in:
tchncs 2016-12-13 15:37:26 +01:00
parent 2eaf3347e4
commit 54704d6d69

View File

@ -80,7 +80,7 @@ end
--
-- All other biome API mapgens
--
--[[
local function register_flower(seed, name)
minetest.register_decoration({
deco_type = "simple",
@ -156,7 +156,7 @@ function flowers.register_decorations()
register_waterlily()
end
]]
--
-- Detect mapgen to select functions
@ -168,6 +168,6 @@ end
local mg_name = minetest.get_mapgen_setting("mg_name")
if mg_name == "v6" then
flowers.register_mgv6_decorations()
elseif mg_name ~= "singlenode" then
flowers.register_decorations()
--elseif mg_name ~= "singlenode" then
-- flowers.register_decorations()
end