forked from VoxeLibre/VoxeLibre
Disable random_struct for good
This commit is contained in:
parent
bd125d3ddf
commit
8c33757f0b
|
@ -406,7 +406,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
local p = {x=x,y=1,z=z}
|
local p = {x=x,y=1,z=z}
|
||||||
if minetest.get_node(p).name == "default:sand" then
|
if minetest.get_node(p).name == "default:sand" then
|
||||||
if math.random(0,1000) == 1 then -- 0,12000
|
if math.random(0,1000) == 1 then -- 0,12000
|
||||||
random_struct.call_struct(p,2)
|
-- TODO: Re-enable random_struct
|
||||||
|
--random_struct.call_struct(p,2)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -488,7 +489,8 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
elseif nn == "default:dirt_with_grass" then
|
elseif nn == "default:dirt_with_grass" then
|
||||||
minetest.set_node(p,{name="default:grass"})
|
minetest.set_node(p,{name="default:grass"})
|
||||||
if math.random(0,12000) == 1 then
|
if math.random(0,12000) == 1 then
|
||||||
random_struct.call_struct(p,1)
|
-- TODO: Re-enable random_struct
|
||||||
|
--random_struct.call_struct(p,1)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue