Skip to content

Commit

Permalink
[CSM] Fix localplayer documentation (#5557)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dumbeldor authored and nerzhul committed Apr 12, 2017
1 parent 8350827 commit 8bdf9a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/client_lua_api.md
Expand Up @@ -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()`
Expand Down Expand Up @@ -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()`
Expand Down

0 comments on commit 8bdf9a4

Please sign in to comment.