This commit is contained in:
parent
44eeef0595
commit
411417661c
2
init.lua
2
init.lua
|
@ -27,7 +27,7 @@ dofile(modpath .. '/atm-core.lua')
|
||||||
dofile(modpath .. '/atm-nodes.lua')
|
dofile(modpath .. '/atm-nodes.lua')
|
||||||
|
|
||||||
-- Tweak minetest.log for extra security, unless cloaking already has.
|
-- Tweak minetest.log for extra security, unless cloaking already has.
|
||||||
if not minetest.get_modpath('cloaking') then
|
if not minetest.get_modpath('cloaking') or not cloaking.hide_player then
|
||||||
table.insert(minetest.registered_on_chat_messages, 1, function(name, msg)
|
table.insert(minetest.registered_on_chat_messages, 1, function(name, msg)
|
||||||
if msg:find('[\r\n]') then
|
if msg:find('[\r\n]') then
|
||||||
minetest.chat_send_player(name,
|
minetest.chat_send_player(name,
|
||||||
|
|
Loading…
Reference in New Issue