mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 22:33:16 -04:00
issue 2878
remove explicit sand check and sand no longer in soil group
This commit is contained in:
parent
71ea0c65ea
commit
c6cce2361f
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue