pass blockseed to individual mapgens
this is needed for biomegen to work.
This commit is contained in:
parent
441c90b14e
commit
e6324c229a
|
@ -277,7 +277,7 @@ minetest.register_on_mapgen_init(function(mapgen_params)
|
|||
end)
|
||||
|
||||
-- Here all the magic (or should I say mess...) happens!
|
||||
minetest.register_on_generated(function(minp, maxp)
|
||||
minetest.register_on_generated(function(minp, maxp,seed)
|
||||
multi_map.set_current_layer(minp.y)
|
||||
local sidelen = maxp.x - minp.x + 1
|
||||
|
||||
|
@ -393,7 +393,7 @@ minetest.register_on_generated(function(minp, maxp)
|
|||
end
|
||||
else
|
||||
for i,f in ipairs(t) do
|
||||
f.generator(multi_map.current_layer, vm, area, vm_data, minp, maxp, offset_minp, offset_maxp, f.arguments)
|
||||
f.generator(multi_map.current_layer, vm, area, vm_data, minp, maxp, offset_minp, offset_maxp, f.arguments,seed)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue