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 70f1181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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
3 changes: 1 addition & 2 deletions 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 Expand Up @@ -159,7 +158,7 @@ for (const supportedVersion of mineflayer.testedVersions) {
server.on('login', (client) => {
client.write('login', bot.test.generateLoginPacket())
const chunk = new Chunk()
// chunk.setBlockType(pos, goldId)
chunk.setBlockType(pos, goldId)
client.write('map_chunk', generateChunkPacket(chunk))
})
})
Expand Down

0 comments on commit 70f1181

Please sign in to comment.