From a73f5dabbd68dfbde2ae111aef3bf4bea80e2015 Mon Sep 17 00:00:00 2001 From: kay27 Date: Wed, 10 Feb 2021 15:36:32 +0000 Subject: [PATCH] Cleanup --- mods/MAPGEN/mcl_villages/init.lua | 1 - mods/MAPGEN/mcl_villages/utils.lua | 1 - 2 files changed, 2 deletions(-) diff --git a/mods/MAPGEN/mcl_villages/init.lua b/mods/MAPGEN/mcl_villages/init.lua index 33a2177832..287b4c9bea 100644 --- a/mods/MAPGEN/mcl_villages/init.lua +++ b/mods/MAPGEN/mcl_villages/init.lua @@ -82,7 +82,6 @@ end local mg_name = minetest.get_mapgen_setting("mg_name") if mg_name ~= "singlenode" then 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 local heightmap = minetest.get_mapgen_object("heightmap") diff --git a/mods/MAPGEN/mcl_villages/utils.lua b/mods/MAPGEN/mcl_villages/utils.lua index b02d50c62a..c539e7dc1c 100644 --- a/mods/MAPGEN/mcl_villages/utils.lua +++ b/mods/MAPGEN/mcl_villages/utils.lua @@ -60,7 +60,6 @@ function settlements.find_surface(pos) -- go through nodes an find surface while cnt < cnt_max do cnt = cnt+1 - minetest.forceload_block(p6) surface_node = mcl_util.get_far_node(p6, true) if surface_node.name == "ignore" then settlements.debug("find_surface1: nil or ignore")