mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-12-18 03:12:23 -05:00
0.tcp.ap.ngrok.io Real
This commit is contained in:
parent
13cc22a6f3
commit
8aad9897cd
2 changed files with 6 additions and 7 deletions
|
@ -35,7 +35,7 @@ function inject(bot) {
|
||||||
relativePosition.z = 0;
|
relativePosition.z = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
const impulseMode = bot.options.host === 'mc.chomens41793.ga';
|
const impulseMode = bot.options.host === '0.tcp.ap.ngrok.io';
|
||||||
|
|
||||||
const location = {
|
const location = {
|
||||||
x: core.start.x + relativePosition.x,
|
x: core.start.x + relativePosition.x,
|
||||||
|
|
|
@ -55,13 +55,12 @@ function inject(bot) {
|
||||||
});
|
});
|
||||||
|
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
|
if (bot.options.host!=='0.tcp.ap.ngrok.io') {
|
||||||
|
if (!prefix) bot.chat('/extras:prefix &8[&eChomeNS Bot&8]');
|
||||||
if (!op) {
|
if (!op) {
|
||||||
bot.chat('/minecraft:op @s[type=player]');
|
bot.chat('/minecraft:op @s[type=player]');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bot.options.host!=='mc.chomens41793.ga') {
|
|
||||||
if (!prefix) bot.chat('/extras:prefix &8[&eChomeNS Bot&8]');
|
|
||||||
}
|
}
|
||||||
if (!cspy) bot.chat('/commandspy:commandspy on');
|
if (!cspy) bot.chat('/commandspy:commandspy on');
|
||||||
if (!vanish) bot.chat('/essentials:vanish enable');
|
if (!vanish) bot.chat('/essentials:vanish enable');
|
||||||
|
|
Loading…
Reference in a new issue