Skip to content
Snippets Groups Projects
Commit 4eacce5e authored by Robert Zenz's avatar Robert Zenz Committed by est31
Browse files

Add note that chat messages can be marked as handled.

parent 8b472fdc
No related branches found
No related tags found
No related merge requests found
......@@ -1833,6 +1833,7 @@ Call these functions only at load time!
* `dug_too_fast`
* `minetest.register_on_chat_message(func(name, message))`
* Called always when a player says something
* Return `true` to mark the message as handled, which means that it will not be sent to other players
* `minetest.register_on_player_receive_fields(func(player, formname, fields))`
* Called when a button is pressed in player's inventory form
* Newest functions are called first
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment