Skip to content

Commit

Permalink
Flowers: Keep mushrooms above water level
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Jul 24, 2015
1 parent e7def5d commit 83c2a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/flowers/mapgen.lua
Expand Up @@ -20,7 +20,7 @@ end
local function register_mushroom(name)
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass", "default:dirt"},
place_on = {"default:dirt_with_grass"},
sidelen = 16,
noise_params = {
offset = 0,
Expand All @@ -30,7 +30,7 @@ local function register_mushroom(name)
octaves = 3,
persist = 0.6
},
y_min = -31000,
y_min = 1,
y_max = 30,
decoration = "flowers:"..name,
})
Expand Down

0 comments on commit 83c2a88

Please sign in to comment.