mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -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;
|
||||
}
|
||||
|
||||
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,
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue