diff options
Diffstat (limited to 'doc/client_lua_api.md')
-rw-r--r-- | doc/client_lua_api.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index 42d2bfbbf..43b33ac97 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -648,10 +648,10 @@ Call these functions only at load time! semi-frequent intervals as well as on server shutdown. * `minetest.register_on_connect(func())` * Called at the end of client connection (when player is loaded onto map) -* `minetest.register_on_receiving_chat_message(func(name, message))` +* `minetest.register_on_receiving_chat_message(func(message))` * Called always when a client receive a message * Return `true` to mark the message as handled, which means that it will not be shown to chat -* `minetest.register_on_sending_chat_message(func(name, message))` +* `minetest.register_on_sending_chat_message(func(message))` * Called always when a client send a message from chat * Return `true` to mark the message as handled, which means that it will not be sent to server * `minetest.register_chatcommand(cmd, chatcommand definition)` @@ -676,7 +676,7 @@ Call these functions only at load time! * Called when the local player punches a node * Newest functions are called first * If any function returns true, the punch is ignored -* `minetest.register_on_placenode(function(pointed_thing, node))` +* `minetest.register_on_placenode(function(pointed_thing, node))` * Called when a node has been placed * `minetest.register_on_item_use(func(item, pointed_thing))` * Called when the local player uses an item. |