diff --git a/commands/changelog.js b/commands/changelog.js index 1f366ec..e661519 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -18,7 +18,7 @@ const bots = [ name: { text: 'v5.0.1', color: 'green', bold:false }, authors: [''], - foundation: 'added botsrun for the funni along with making the bot be able to auto refill its core now and fill the core from a command block and adding a hover event to netmsg along with having the test command tellraw the players display name in the command and added support for 3 command prefixes', + foundation: 'added botsrun for the funni along with making the bot be able to auto refill its core now and fill the core from a command block(edit: nevermind its very buggy reverting it back to how it originally filled its core) and adding a hover event to netmsg along with having the test command tellraw the players display name in the command and added support for 3 command prefixes', exclaimer:'12/23/23', }, ]// diff --git a/modules/command_core.js b/modules/command_core.js index b1b6583..dbe950c 100644 --- a/modules/command_core.js +++ b/modules/command_core.js @@ -15,8 +15,8 @@ async function inject (bot, options) { if (!pos) return - bot.command(`fill ~ ~ ~0 ~ ~ ~ command_block replace`) - bot.core.run(`fill ${pos.x + start.x} ${pos.y + start.y} ${pos.z + start.z} ${pos.x + end.x} ${pos.y + end.y} ${pos.z + end.z} repeating_command_block{CustomName: '{"text":"${bot.options.Core.customName}","color":"dark_red","clickEvent":{"action":"open_url","value":"${bot.options.Core.customName}"}}'} destroy`) + bot.command(`fill ${pos.x + start.x} ${pos.y + start.y} ${pos.z + start.z} ${pos.x + end.x} ${pos.y + end.y} ${pos.z + end.z} repeating_command_block{CustomName: '{"text":"${bot.options.Core.customName}","color":"dark_red","clickEvent":{"action":"open_url","value":"${bot.options.Core.customName}"}}'} destroy`) + },