diff options
author | you <ovvv@web.de> | 2018-02-05 15:17:10 +0100 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2018-06-03 17:32:00 +0200 |
commit | 880a25c92182bd10e8a80930909cf505e851ea65 (patch) | |
tree | 4ea500131cc1da7bd64b533af6c62f51a85ba181 /doc | |
parent | 0268c9d7c9925daeeb2ac847aca090de635ba43c (diff) | |
download | minetest-880a25c92182bd10e8a80930909cf505e851ea65.tar.gz minetest-880a25c92182bd10e8a80930909cf505e851ea65.tar.bz2 minetest-880a25c92182bd10e8a80930909cf505e851ea65.zip |
Add minetest.is_player (#7013)
* Add minetest.is_player
* First use for is_player
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index b35c816a1..73572ac78 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3013,6 +3013,7 @@ These functions return the leftover itemstack. ### Misc. * `minetest.get_connected_players()`: returns list of `ObjectRefs` +* `minetest.is_player(o)`: boolean, whether `o` is a player * `minetest.player_exists(name)`: boolean, whether player exists (regardless of online status) * `minetest.hud_replace_builtin(name, hud_definition)` * Replaces definition of a builtin hud element |