diff options
author | DS <vorunbekannt75@web.de> | 2019-01-06 17:21:04 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-01-06 17:21:04 +0100 |
commit | 07c1c72aae71bd4405ec8e52bfa841b483de7198 (patch) | |
tree | 5fe43d517a40f141b4e9db998a653a28ebd24a89 /src | |
parent | 6169ecaa4a1b55274fa0509cd610fc37a4723274 (diff) | |
download | minetest-07c1c72aae71bd4405ec8e52bfa841b483de7198.tar.gz minetest-07c1c72aae71bd4405ec8e52bfa841b483de7198.tar.bz2 minetest-07c1c72aae71bd4405ec8e52bfa841b483de7198.zip |
Fix wrong code comment (#8061)
"Get core.registered_on_chat_messages" to "Get core.registered_on_player_receive_fields" where `core.registered_on_player_receive_fields` is gotten
Diffstat (limited to 'src')
-rw-r--r-- | src/script/cpp_api/s_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/cpp_api/s_player.cpp b/src/script/cpp_api/s_player.cpp index 100434fc3..fac86295a 100644 --- a/src/script/cpp_api/s_player.cpp +++ b/src/script/cpp_api/s_player.cpp @@ -195,7 +195,7 @@ void ScriptApiPlayer::on_playerReceiveFields(ServerActiveObject *player, { SCRIPTAPI_PRECHECKHEADER - // Get core.registered_on_chat_messages + // Get core.registered_on_player_receive_fields lua_getglobal(L, "core"); lua_getfield(L, -1, "registered_on_player_receive_fields"); // Call callbacks |