mirror of
https://github.com/minetest/minetest_game.git
synced 2025-07-01 14:20:22 +02:00
fix typo in game_api.txt
This commit is contained in:
@ -1124,7 +1124,7 @@ Logs action of the player with a node at a certain position.
|
|||||||
By default only actions of real players are logged.
|
By default only actions of real players are logged.
|
||||||
Actions of non-players (usually machines) are logged only when
|
Actions of non-players (usually machines) are logged only when
|
||||||
setting `enable_non_player_action_log` is enabled.
|
setting `enable_non_player_action_log` 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.
|
`false` or `player.is_fake_player` is truthy.
|
||||||
|
|
||||||
`default.log_action(player, pos, message)`
|
`default.log_action(player, pos, message)`
|
||||||
|
Reference in New Issue
Block a user