forked from VoxeLibre/VoxeLibre
Fix biomemap being screwed up in mcl_mapgen_core
This commit is contained in:
parent
d4708c804a
commit
53f231a576
|
@ -1639,6 +1639,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
local param2_data = vm:get_param2_data(lvm_buffer_param2)
|
local param2_data = vm:get_param2_data(lvm_buffer_param2)
|
||||||
local area = VoxelArea:new({MinEdge=emin, MaxEdge=emax})
|
local area = VoxelArea:new({MinEdge=emin, MaxEdge=emax})
|
||||||
local lvm_used = false
|
local lvm_used = false
|
||||||
|
local biomemap
|
||||||
|
|
||||||
local ymin, ymax
|
local ymin, ymax
|
||||||
|
|
||||||
|
@ -1747,7 +1748,7 @@ minetest.register_on_generated(function(minp, maxp, seed)
|
||||||
-- Clay, vines, cocoas
|
-- Clay, vines, cocoas
|
||||||
lvm_used = generate_clay(minp, maxp, seed, data, area, lvm_used)
|
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)
|
lvm_used = generate_tree_decorations(minp, maxp, seed, data, param2_data, area, biomemap, lvm_used)
|
||||||
|
|
||||||
----- Interactive block fixing section -----
|
----- Interactive block fixing section -----
|
||||||
|
|
Reference in New Issue