issue 2878

remove explicit sand check and sand no longer in soil group
This commit is contained in:
Sirrobzeroone 2021-05-30 09:09:56 +10:00
parent 71ea0c65ea
commit c6cce2361f
1 changed files with 1 additions and 3 deletions

View File

@ -160,9 +160,7 @@ function flowers.flower_spread(pos, node)
light = minetest.get_node_light(soil_above)
if light and light >= 13 and
-- Only spread to same surface node
soil_name == under.name and
-- Desert sand is in the soil group
soil_name ~= "default:desert_sand" then
soil_name == under.name then
minetest.set_node(soil_above, {name = node.name})
end
end