Skip to content

Commit

Permalink
Improve viewer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SpreeHertz committed Nov 18, 2021
1 parent 3b62b93 commit 4d871aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelogs | Sandmine.js

### November 18th 2021 (v1.0.7)

1. Improved viewer.js.

### November 17th 2021 (v1.0.6)

1. Improved anti-crashing.
Expand Down
2 changes: 1 addition & 1 deletion src/events/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const chalk = require('chalk');

bot.once('spawn', () => {
mineflayerViewer(bot, { port: 3000 });
console.log(chalk.blueBright(`You can view your bot by going to https://localhost:3000`));
console.log(chalk.blueBright(`You can view your bot on your browser by going to https://localhost:3000.`));

// Draw the path followed by the bot
const path = [bot.entity.position.clone()];
Expand Down

0 comments on commit 4d871aa

Please sign in to comment.