From 8c33757f0b43e0d6293b10a43b4a80c737a890e8 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 28 Jan 2017 03:45:14 +0100 Subject: [PATCH] Disable random_struct for good --- mods/default/mapgen.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mods/default/mapgen.lua b/mods/default/mapgen.lua index e0cf255e73..15f9f0f84c 100644 --- a/mods/default/mapgen.lua +++ b/mods/default/mapgen.lua @@ -406,7 +406,8 @@ minetest.register_on_generated(function(minp, maxp, seed) local p = {x=x,y=1,z=z} if minetest.get_node(p).name == "default:sand" then 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 @@ -488,7 +489,8 @@ minetest.register_on_generated(function(minp, maxp, seed) elseif nn == "default:dirt_with_grass" then minetest.set_node(p,{name="default:grass"}) 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