summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorparamat <mat.gregory@virginmedia.com>2015-03-10 04:51:21 +0000
committerparamat <mat.gregory@virginmedia.com>2015-03-11 03:36:39 +0000
commitb2b6bbf3e80f0ab06d62c43567122871ae560534 (patch)
tree80be48b9c9b60b0e56bee57b901190758a27ea99 /doc
parentadfcdc548491c87b3b24540c9d9a3a488198d1bc (diff)
downloadminetest-b2b6bbf3e80f0ab06d62c43567122871ae560534.tar.gz
minetest-b2b6bbf3e80f0ab06d62c43567122871ae560534.tar.bz2
minetest-b2b6bbf3e80f0ab06d62c43567122871ae560534.zip
lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations
Diffstat (limited to 'doc')
-rw-r--r--doc/lua_api.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 5fa164e6b..d7e956087 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1903,10 +1903,10 @@ and `minetest.auth_reload` call the authetification handler.
* Sets the noiseparams setting of `name` to the noiseparams table specified in `noiseparams`.
* `set_default` is an optional boolean (default: `true`) that specifies whether the setting
should be applied to the default config or current active config
-* `minetest.generate_ores(vm)`
- * Generate all registered ores within the VoxelManip specified by `vm`.
-* `minetest.generate_decorations(vm)`
- * Generate all registered decorations within the VoxelManip specified by `vm`.
+* `minetest.generate_ores(vm, p1, p2)`
+ * Generate all registered ores within the VoxelManip `vm` and in the area from p1 to p2.
+* `minetest.generate_decorations(vm, p1, p2)`
+ * Generate all registered decorations within the VoxelManip `vm` and in the area from p1 to p2.
* `minetest.clear_objects()`
* clear all objects in the environments
* `minetest.delete_area(pos1, pos2)`