This commit is contained in:
KaadmY 2017-05-11 14:12:40 -07:00
parent abb1c196da
commit b51ff71ccc
1 changed files with 3 additions and 1 deletions

View File

@ -43,7 +43,9 @@ minetest.register_abm(
action = function(pos, node)
minetest.remove_node(pos)
if minetest.setting_get_bool("mapgen_disable_villages")
if minetest.setting_getbool("mapgen_disable_villages") == true then
return
end
local pr = PseudoRandom(minetest.get_mapgen_params().seed+pos.x+pos.y+pos.z)