diff --git a/mods/other/afkkick/init.lua b/mods/other/afkkick/init.lua index 2541460b2..82e89a164 100644 --- a/mods/other/afkkick/init.lua +++ b/mods/other/afkkick/init.lua @@ -45,6 +45,7 @@ minetest.register_on_joinplayer(function(player) end) minetest.register_on_leaveplayer(function(player) + minetest.chat_send_all("*** " .. player:get_player_name() .. " left the game (inactivity)") local playerName = player:get_player_name() players[playerName] = nil end)