aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-31 14:20:04 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-03-31 14:27:04 +0300
commit96ee73f79018c8aae22a392af6f66f9a05cb0174 (patch)
treed0c0ff58c97b31fd919da91f2e40313e48abf8e3
parentdc70f50b5901732f928c439060dcbbcc6a5dfeb7 (diff)
downloadminetest-96ee73f79018c8aae22a392af6f66f9a05cb0174.tar.gz
minetest-96ee73f79018c8aae22a392af6f66f9a05cb0174.tar.bz2
minetest-96ee73f79018c8aae22a392af6f66f9a05cb0174.zip
Fix doc/lua_api.txt
-rw-r--r--doc/lua_api.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index b068a8a01..a03d9a9e1 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -543,7 +543,7 @@ minetest.dir_to_facedir(dir)
minetest.dir_to_wallmounted(dir)
^ Convert a vector to a wallmounted value, used for paramtype2="wallmounted"
minetest.get_node_drops(nodename, toolname)
-^ Get list of ItemStacks.
+^ Returns list of item names.
^ Note: This will be removed or modified in a future version.
Defaults for the on_* item definition functions:
@@ -944,7 +944,7 @@ Chatcommand definition (register_chatcommand)
{
params = "<name> <privilege>", -- short parameter description
description = "Remove privilege from player", -- full description
- privs = {privs=true}}, -- require the "privs" privilege to run
+ privs = {privs=true}, -- require the "privs" privilege to run
func = function(name, param), -- called when command is run
}