diff options
author | SmallJoker <mk939@ymail.com> | 2018-05-12 10:55:43 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-05-12 11:50:04 +0200 |
commit | 9dd432c29f662fc668cc2473a2e057acd8357a91 (patch) | |
tree | ff08425847b9aedb80de5ce62c5d58744c2a0125 /doc/lua_api.txt | |
parent | a292d19fd0726cdd192469fbfc5f85770d5819e3 (diff) | |
download | minetest-9dd432c29f662fc668cc2473a2e057acd8357a91.tar.gz minetest-9dd432c29f662fc668cc2473a2e057acd8357a91.tar.bz2 minetest-9dd432c29f662fc668cc2473a2e057acd8357a91.zip |
Run detach callbacks on player leave
Correct docs regarding non-nil detaching children
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index dae3452a1..a4b797795 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -4869,9 +4869,9 @@ Registered entities * `killer`: an `ObjectRef` (can be `nil`) * `on_rightclick(self, clicker)` * `on_attach_child(self, child)` - * `child`: an `ObjectRef` (can be `nil`) of the child that attaches + * `child`: an `ObjectRef` of the child that attaches * `on_detach_child(self, child)` - * `child`: an `ObjectRef` (can be `nil`) of the child that detaches + * `child`: an `ObjectRef` of the child that detaches * `on_detach(self, parent)` * `parent`: an `ObjectRef` (can be `nil`) from where it got detached * This happens before the parent object is removed from the world |