mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
um idk bro
This commit is contained in:
parent
9e0ed07160
commit
57ccc0b3e1
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ function inject(bot, dcclient, config) {
|
|||
z: core.start.z + relativePosition.z,
|
||||
};
|
||||
|
||||
if (impulseMode) bot.write('update_command_block', {location, command: command.substring(0, 32767), mode: 0, flags: 0});
|
||||
bot.write('update_command_block', {location, command: command.substring(0, 32767), mode: impulseMode ? 2 : 1, flags: 0b100});
|
||||
if (impulseMode) bot.write('update_command_block', {location, command: '', mode: 0, flags: 0});
|
||||
bot.write('update_command_block', {location, command: String(command).substring(0, 32767), mode: impulseMode ? 2 : 1, flags: 0b100});
|
||||
} catch (e) {
|
||||
bot.console.error(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue