removed debug printing in village gen
This commit is contained in:
parent
5c1647ffdd
commit
626c889d02
@ -44,7 +44,6 @@ minetest.register_abm(
|
||||
minetest.remove_node(pos)
|
||||
local pr = PseudoRandom(minetest.get_mapgen_params().seed+pos.x+pos.y+pos.z)
|
||||
if node.name == "village:grassland_village_mg" then
|
||||
print((minetest.get_mapgen_params().seed+pos.x+pos.y+pos.z) % 30)
|
||||
if ((minetest.get_mapgen_params().seed+pos.x+pos.y+pos.z) % 30) == 1 then
|
||||
local nearest = village.get_nearest_village(pos)
|
||||
if nearest.dist > village.min_spawn_dist then
|
||||
|
Loading…
Reference in New Issue
Block a user