projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d36e68
)
Comment out print("on_generated: ...") in Lua
author
Perttu Ahola
<celeron55@gmail.com>
Sat, 26 Nov 2011 14:14:09 +0000
(16:14 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 29 Nov 2011 17:13:54 +0000
(19:13 +0200)
data/mods/default/init.lua
patch
|
blob
|
history
diff --git
a/data/mods/default/init.lua
b/data/mods/default/init.lua
index 520fbddf1f0244c233867df350c1da1353b0fdb0..6ea15b4ee984ea65a6335e3e6dd160caba871ecf 100644
(file)
--- a/
data/mods/default/init.lua
+++ b/
data/mods/default/init.lua
@@
-1331,7
+1331,7
@@
minetest.register_on_respawnplayer(function(player)
end)
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}
--minetest.env:add_node(cp, {name="sand"})
end)