mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-26 09:59:33 +01:00
Fix biomemap being screwed up in mcl_mapgen_core
This commit is contained in:
parent
d4708c804a
commit
53f231a576
1 changed files with 2 additions and 1 deletions
|
@ -1639,6 +1639,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
local param2_data = vm:get_param2_data(lvm_buffer_param2)
|
||||
local area = VoxelArea:new({MinEdge=emin, MaxEdge=emax})
|
||||
local lvm_used = false
|
||||
local biomemap
|
||||
|
||||
local ymin, ymax
|
||||
|
||||
|
@ -1747,7 +1748,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
|||
-- Clay, vines, cocoas
|
||||
lvm_used = generate_clay(minp, maxp, seed, data, area, lvm_used)
|
||||
|
||||
local biomemap = minetest.get_mapgen_object("biomemap")
|
||||
biomemap = minetest.get_mapgen_object("biomemap")
|
||||
lvm_used = generate_tree_decorations(minp, maxp, seed, data, param2_data, area, biomemap, lvm_used)
|
||||
|
||||
----- Interactive block fixing section -----
|
||||
|
|
Loading…
Reference in a new issue