Skip to content

Commit

Permalink
Update internalTest.js typo
Browse files Browse the repository at this point in the history
  • Loading branch information
extremeheat authored Jan 7, 2025
1 parent a93bb2c commit f16f406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/internalTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for (const supportedVersion of mineflayer.testedVersions) {
const registry = require('prismarine-registry')(supportedVersion)
const version = registry.version
const Chunk = require('prismarine-chunk')(supportedVersion)
const isNewPlayerInfoFormat = registry.version['>=']('1.20.3')
const isNewPlayerInfoFormat = registry.version['>=']('1.21.3')
function wrapPlayerInfo (n) {
if (isNewPlayerInfoFormat) return { _value: n }
return n
Expand Down

0 comments on commit f16f406

Please sign in to comment.