diff --git a/commands/netmsg.js b/commands/netmsg.js index 79c4782..ca0b023 100644 --- a/commands/netmsg.js +++ b/commands/netmsg.js @@ -41,13 +41,13 @@ module.exports = { if (!message[0]) { context.source.sendFeedback({text:'Message is empty', color:'red'}, false) - if(source.sources.console && !bot.options.Core.CorelessMode){ + if(source.sources.console && bot.options.Core.CorelessMode){ for (const eachBot of bot.bots) eachBot.chat(`[${bot.options.host}:${bot.options.port}] ${ChatMessage.fromNotch(bot.options.username).toMotd().replaceAll('§', '&')} &f› ${message}`) } - } else if (!bot.options.Core.CorelessMode && !source.sources.console) { + } else if (bot.options.Core.CorelessMode && !source.sources.console) { for (const eachBot of bot.bots)