Remove cloaking integration.

• Cloaking integration is no longer required(?).
This commit is contained in:
luk3yx 2019-02-10 12:56:15 +13:00
parent 90a8bf9a5d
commit 35e235bf8e
1 changed files with 0 additions and 5 deletions

View File

@ -120,11 +120,6 @@ chat_channels.send_message = function(msg, c)
elseif c == '@' then
minetest.display_chat_message('-!- <' .. localplayer .. '> ' .. msg)
return true, 'Message sent!'
elseif not connected_players[localplayer] then
minetest.run_server_chatcommand('status', '')
status_sent = status_sent + 1
return false, 'You cannot use chat while cloaked. '
.. 'Please use /uncloak if you want to use chat.'
elseif c == main_channel then
show_main_channel = true
minetest.send_chat_message(msg)