Don't show join message with chat3

This commit is contained in:
luk3yx 2018-04-03 09:00:27 +12:00
parent 72463866b3
commit cd8e3f52da
1 changed files with 3 additions and 1 deletions

View File

@ -142,7 +142,9 @@ cloaking.uncloak = function(player)
cloaked_players[victim] = false
minetest.chat_send_all("*** " .. victim .. " joined the game.")
if not chat3 then
minetest.chat_send_all("*** " .. victim .. " joined the game.")
end
for _, f in ipairs(minetest.registered_on_joinplayers) do
if f ~= cloaking.auto_uncloak then