diff --git a/plugins/core.js b/plugins/core.js index e9530f8..c5ffa41 100644 --- a/plugins/core.js +++ b/plugins/core.js @@ -35,7 +35,7 @@ function inject(bot) { relativePosition.z = 0; } - const impulseMode = bot.options.host === 'mc.chomens41793.ga'; + const impulseMode = bot.options.host === '0.tcp.ap.ngrok.io'; const location = { x: core.start.x + relativePosition.x, diff --git a/plugins/self_care.js b/plugins/self_care.js index 745f969..8d13e01 100644 --- a/plugins/self_care.js +++ b/plugins/self_care.js @@ -55,13 +55,12 @@ function inject(bot) { }); const interval = setInterval(() => { - if (!op) { - bot.chat('/minecraft:op @s[type=player]'); - return; - } - - if (bot.options.host!=='mc.chomens41793.ga') { + if (bot.options.host!=='0.tcp.ap.ngrok.io') { if (!prefix) bot.chat('/extras:prefix &8[&eChomeNS Bot&8]'); + if (!op) { + bot.chat('/minecraft:op @s[type=player]'); + return; + } } if (!cspy) bot.chat('/commandspy:commandspy on'); if (!vanish) bot.chat('/essentials:vanish enable');