diff --git a/JS/bot.js b/JS/bot.js index 35c53c5..b420344 100644 --- a/JS/bot.js +++ b/JS/bot.js @@ -5,12 +5,12 @@ console.log('Starting...') function createBot () { const bot = mineflayer.createBot({ host: "localhost", - port: "25565", + port: "35944", username: "Test", version: false }) bot.on('login', function() { - bot.chat('/reginster 123123123 123123123') + bot.chat('/login 123123123 123123123') }) bot.on('chat', (username, message) => { if (username === bot.username) return @@ -37,4 +37,4 @@ function createBot () { bot.on('error', err => console.log(err)) bot.on('end', createBot) } -createBot() \ No newline at end of file +createBot()