From cd8e3f52dad4096f619077ee65a123b9b315cf90 Mon Sep 17 00:00:00 2001 From: luk3yx Date: Tue, 3 Apr 2018 09:00:27 +1200 Subject: [PATCH] Don't show join message with chat3 --- core.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core.lua b/core.lua index 41f9171..f807996 100644 --- a/core.lua +++ b/core.lua @@ -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