Comment out print("on_generated: ...") in Lua

This commit is contained in:
Perttu Ahola 2011-11-26 16:14:09 +02:00
parent 1d36e68346
commit b4e6ca63b5

@ -1331,7 +1331,7 @@ minetest.register_on_respawnplayer(function(player)
end) end)
minetest.register_on_generated(function(minp, maxp) minetest.register_on_generated(function(minp, maxp)
print("on_generated: minp="..dump(minp).." maxp="..dump(maxp)) --print("on_generated: minp="..dump(minp).." maxp="..dump(maxp))
--cp = {x=(minp.x+maxp.x)/2, y=(minp.y+maxp.y)/2, z=(minp.z+maxp.z)/2} --cp = {x=(minp.x+maxp.x)/2, y=(minp.y+maxp.y)/2, z=(minp.z+maxp.z)/2}
--minetest.env:add_node(cp, {name="sand"}) --minetest.env:add_node(cp, {name="sand"})
end) end)