mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Add minetest.is_player (#7013)
* Add minetest.is_player * First use for is_player
This commit is contained in:
parent
0268c9d7c9
commit
880a25c921
2 changed files with 15 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue