Skip to content

Commit

Permalink
don't hide errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 committed Jan 12, 2022
1 parent efe4076 commit f33681d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function createBot (options = {}) {
options.username = options.username ?? 'Player'
options.version = options.version ?? false
options.plugins = options.plugins ?? {}
options.hideErrors = options.hideErrors ?? true
options.hideErrors = options.hideErrors ?? false
options.logErrors = options.logErrors ?? true
options.loadInternalPlugins = options.loadInternalPlugins ?? true
options.client = options.client ?? null
Expand Down
1 change: 0 additions & 1 deletion test/internalTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ for (const supportedVersion of mineflayer.testedVersions) {
}
return loginPacket
}
bot.on('error', e => console.log(e))
done()
})
})
Expand Down

0 comments on commit f33681d

Please sign in to comment.