From adf5b53ec5d12519e3d95a99cf4f53d5c82d69f3 Mon Sep 17 00:00:00 2001 From: nixnoxus Date: Mon, 4 Apr 2022 20:14:11 +0200 Subject: [PATCH] fix typo in game_api.txt --- game_api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_api.txt b/game_api.txt index d715312b..34351bd9 100644 --- a/game_api.txt +++ b/game_api.txt @@ -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. Actions of non-players (usually machines) are logged only when 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. `default.log_action(player, pos, message)`