From b51ff71ccc7c1bbe3612f52410de69558a1d26fe Mon Sep 17 00:00:00 2001 From: KaadmY Date: Thu, 11 May 2017 14:12:40 -0700 Subject: [PATCH] Oops --- mods/village/mapgen.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mods/village/mapgen.lua b/mods/village/mapgen.lua index b6a8a5e..e34c3cb 100644 --- a/mods/village/mapgen.lua +++ b/mods/village/mapgen.lua @@ -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)