Make "static_pos" structures use blockseed as PR seed again

This commit is contained in:
cora 2024-08-01 17:17:51 +02:00 committed by ryvnf
parent d915fbe8e8
commit d27acfb432

View File

@ -294,6 +294,7 @@ end
mcl_mapgen_core.register_generator("structures",nil, function(minp, maxp, blockseed)
local gennotify = minetest.get_mapgen_object("gennotify")
local has = false
local block_pr = PcgRandom(blockseed + 42)
for _,struct in pairs(mcl_structures.registered_structures) do
if struct.deco_id then
for _, pos in pairs(gennotify["decoration#"..struct.deco_id] or {}) do