diff options
author | Vincent Glize <vincentglize@hotmail.fr> | 2017-04-12 23:05:01 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-04-12 23:05:01 +0200 |
commit | 8bdf9a44c62758b42420b42b584be9553d3eb32f (patch) | |
tree | 89ca58df832b4f5f534fd964cb33f991135c3961 /doc | |
parent | 83508277ce57720ee833bea125388a99cbe4e20d (diff) | |
download | minetest-8bdf9a44c62758b42420b42b584be9553d3eb32f.tar.gz minetest-8bdf9a44c62758b42420b42b584be9553d3eb32f.tar.bz2 minetest-8bdf9a44c62758b42420b42b584be9553d3eb32f.zip |
[CSM] Fix localplayer documentation (#5557)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/client_lua_api.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/client_lua_api.md b/doc/client_lua_api.md index f762ae150..43a317a84 100644 --- a/doc/client_lua_api.md +++ b/doc/client_lua_api.md @@ -692,7 +692,7 @@ Call these functions only at load time! * `minetest.get_wielded_item()` * Returns the itemstack the local player is holding * `minetest.localplayer` - * returns LocalPlayer handle. See LocalPlayer below. + * Reference to the LocalPlayer object. See `LocalPlayer` class reference for methods. ### Client Environment * `minetest.get_player_names()` @@ -803,6 +803,8 @@ Methods: * returns player speed vector * `get_hp()` * returns player HP +* `get_name()` + * returns player name * `got_teleported()` * returns true if player was teleported * `is_attached()` |