mirror of
https://github.com/minetest/minetest_game.git
synced 2025-02-22 10:40:21 +01:00
Update game_api.txt (mention of non-player marker)
This commit is contained in:
parent
90591c5a49
commit
26553bfaee
@ -1127,6 +1127,9 @@ setting `log_non_player_actions` is enabled.
|
|||||||
A player is considered non-player if `player:is_player()` returns
|
A player is considered non-player if `player:is_player()` returns
|
||||||
`false` or `player.is_fake_player` is truthy. The use of
|
`false` or `player.is_fake_player` is truthy. The use of
|
||||||
`is_fake_player` is an unofficial standard between mods.
|
`is_fake_player` is an unofficial standard between mods.
|
||||||
|
These non-players are marked by the content of `is_fake_player`
|
||||||
|
(if it is a string) or a "*" in brackets after the player name in
|
||||||
|
the log.
|
||||||
|
|
||||||
`default.log_player_action(player, pos, message)`
|
`default.log_player_action(player, pos, message)`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user