1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-11-15 22:40:19 +01:00

Update game_api.txt (mention of non-player marker)

This commit is contained in:
nixnoxus 2022-04-21 13:16:05 +02:00
parent 90591c5a49
commit 26553bfaee

View File

@ -1127,6 +1127,9 @@ setting `log_non_player_actions` is enabled.
A player is considered non-player if `player:is_player()` returns
`false` or `player.is_fake_player` is truthy. The use of
`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)`