Fix doc/lua_api.txt

master
Perttu Ahola 2012-03-31 14:20:04 +03:00
parent dc70f50b59
commit 96ee73f790
1 changed files with 2 additions and 2 deletions

View File

@ -543,7 +543,7 @@ minetest.dir_to_facedir(dir)
minetest.dir_to_wallmounted(dir) minetest.dir_to_wallmounted(dir)
^ Convert a vector to a wallmounted value, used for paramtype2="wallmounted" ^ Convert a vector to a wallmounted value, used for paramtype2="wallmounted"
minetest.get_node_drops(nodename, toolname) 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. ^ Note: This will be removed or modified in a future version.
Defaults for the on_* item definition functions: Defaults for the on_* item definition functions:
@ -944,7 +944,7 @@ Chatcommand definition (register_chatcommand)
{ {
params = "<name> <privilege>", -- short parameter description params = "<name> <privilege>", -- short parameter description
description = "Remove privilege from player", -- full 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 func = function(name, param), -- called when command is run
} }