forked from Mineclonia/Mineclonia
is_ground_concent, not buildable_to in flowers mg
This commit is contained in:
parent
4f5c625072
commit
4488944838
|
@ -50,7 +50,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
local nn = minetest.get_node(p).name
|
local nn = minetest.get_node(p).name
|
||||||
-- Check if the node can be replaced
|
-- Check if the node can be replaced
|
||||||
if minetest.registered_nodes[nn] and
|
if minetest.registered_nodes[nn] and
|
||||||
minetest.registered_nodes[nn].buildable_to then
|
minetest.registered_nodes[nn].is_ground_content then
|
||||||
nn = minetest.get_node({x=x,y=ground_y,z=z}).name
|
nn = minetest.get_node({x=x,y=ground_y,z=z}).name
|
||||||
if nn == "mcl_core:dirt_with_grass" then
|
if nn == "mcl_core:dirt_with_grass" then
|
||||||
--local flower_choice = pr:next(1, 11)
|
--local flower_choice = pr:next(1, 11)
|
||||||
|
|
Loading…
Reference in New Issue