Skip to content

Commit

Permalink
fix a null which should be an undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1504 committed Sep 29, 2018
1 parent 12ddbe0 commit 5a55e70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internalTest.js
Expand Up @@ -185,7 +185,7 @@ mineflayer.supportedVersions.forEach((supportedVersion, i) => {
})
})
bot.once('entityGone', (entity) => {
assert.strictEqual(bot.players[entity.username], null)
assert.strictEqual(bot.players[entity.username], undefined)
done()
})
server.on('login', (client) => {
Expand Down

0 comments on commit 5a55e70

Please sign in to comment.