1
0
Fork 0
This commit is contained in:
kay27 2021-02-10 15:36:32 +00:00
parent 1d792a650f
commit a73f5dabbd
2 changed files with 0 additions and 2 deletions

View File

@ -82,7 +82,6 @@ end
local mg_name = minetest.get_mapgen_setting("mg_name") local mg_name = minetest.get_mapgen_setting("mg_name")
if mg_name ~= "singlenode" then if mg_name ~= "singlenode" then
minetest.register_on_generated(function(minp, maxp, blockseed) minetest.register_on_generated(function(minp, maxp, blockseed)
minetest.log("warning","[mcl_villages] on_generated("..minetest.pos_to_string(minp)..", "..minetest.pos_to_string(maxp)..", "..tostring(blockseed)..")")
-- needed for manual and automated settlement building -- needed for manual and automated settlement building
local heightmap = minetest.get_mapgen_object("heightmap") local heightmap = minetest.get_mapgen_object("heightmap")

View File

@ -60,7 +60,6 @@ function settlements.find_surface(pos)
-- go through nodes an find surface -- go through nodes an find surface
while cnt < cnt_max do while cnt < cnt_max do
cnt = cnt+1 cnt = cnt+1
minetest.forceload_block(p6)
surface_node = mcl_util.get_far_node(p6, true) surface_node = mcl_util.get_far_node(p6, true)
if surface_node.name == "ignore" then if surface_node.name == "ignore" then
settlements.debug("find_surface1: nil or ignore") settlements.debug("find_surface1: nil or ignore")