mirror of
https://github.com/minetest/minetest.git
synced 2024-12-11 17:03:16 +01:00
[CSM] Fix localplayer documentation (#5557)
This commit is contained in:
parent
83508277ce
commit
8bdf9a44c6
@ -692,7 +692,7 @@ Call these functions only at load time!
|
|||||||
* `minetest.get_wielded_item()`
|
* `minetest.get_wielded_item()`
|
||||||
* Returns the itemstack the local player is holding
|
* Returns the itemstack the local player is holding
|
||||||
* `minetest.localplayer`
|
* `minetest.localplayer`
|
||||||
* returns LocalPlayer handle. See LocalPlayer below.
|
* Reference to the LocalPlayer object. See `LocalPlayer` class reference for methods.
|
||||||
|
|
||||||
### Client Environment
|
### Client Environment
|
||||||
* `minetest.get_player_names()`
|
* `minetest.get_player_names()`
|
||||||
@ -803,6 +803,8 @@ Methods:
|
|||||||
* returns player speed vector
|
* returns player speed vector
|
||||||
* `get_hp()`
|
* `get_hp()`
|
||||||
* returns player HP
|
* returns player HP
|
||||||
|
* `get_name()`
|
||||||
|
* returns player name
|
||||||
* `got_teleported()`
|
* `got_teleported()`
|
||||||
* returns true if player was teleported
|
* returns true if player was teleported
|
||||||
* `is_attached()`
|
* `is_attached()`
|
||||||
|
Loading…
Reference in New Issue
Block a user