Don't show join message with chat3
This commit is contained in:
parent
72463866b3
commit
cd8e3f52da
4
core.lua
4
core.lua
|
@ -142,7 +142,9 @@ cloaking.uncloak = function(player)
|
||||||
|
|
||||||
cloaked_players[victim] = false
|
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
|
for _, f in ipairs(minetest.registered_on_joinplayers) do
|
||||||
if f ~= cloaking.auto_uncloak then
|
if f ~= cloaking.auto_uncloak then
|
||||||
|
|
Loading…
Reference in New Issue