Skip to content
Permalink
Browse files

[CSM] Fix localplayer documentation (#5557)

  • Loading branch information
Dumbeldor authored and nerzhul committed Apr 12, 2017
1 parent 8350827 commit 8bdf9a44c62758b42420b42b584be9553d3eb32f
Showing with 3 additions and 1 deletion.
  1. +3 −1 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()`

0 comments on commit 8bdf9a4

Please sign in to comment.