mirror of
https://github.com/minetest/minetest_game.git
synced 2025-07-05 16:10:19 +02:00
issue 2878
remove explicit sand check and sand no longer in soil group
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user