Skip to content
Snippets Groups Projects
Commit 438ace05 authored by TenPlus1's avatar TenPlus1
Browse files

add flower spread limit at top of map block

parent 8b70c3d6
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,11 @@ local flower_spread = function(pos, node)
local num = #minetest.find_nodes_in_area_under_air(pos0, pos1, "group:flora")
-- stop flowers spreading too much just below top of map block
if minetest.find_node_near(pos, 2, "ignore") then
return
end
if num > 3
and node.name == "ethereal:crystalgrass" then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment