mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -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)
|
light = minetest.get_node_light(soil_above)
|
||||||
if light and light >= 13 and
|
if light and light >= 13 and
|
||||||
-- Only spread to same surface node
|
-- Only spread to same surface node
|
||||||
soil_name == under.name and
|
soil_name == under.name then
|
||||||
-- Desert sand is in the soil group
|
|
||||||
soil_name ~= "default:desert_sand" then
|
|
||||||
minetest.set_node(soil_above, {name = node.name})
|
minetest.set_node(soil_above, {name = node.name})
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue