TypeError: Cannot mix BigInt and other types, use explicit conversions #3560
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
when my mineflayer bot spawns into Limbo, it crashes with error
/bot/node_modules/prismarine-chunk/src/pc/1.18/ChunkColumn.js:20
this.numSections = this.worldHeight >> 4
^
TypeError: Cannot mix BigInt and other types, use explicit conversions
at new ChunkColumn (/bot/node_modules/prismarine-chunk/src/pc/1.18/ChunkColumn.js:20:43)
at addColumn (/bot/node_modules/mineflayer/lib/plugins/blocks.js:53:16)
at Client. (/bot/node_modules/mineflayer/lib/plugins/blocks.js:296:5)
at Client.emit (node:events:517:28)
at emitPacket (/bot/node_modules/minecraft-protocol/src/client.js:84:12)
at FullPacketParser. (/bot/node_modules/minecraft-protocol/src/client.js:113:9)
at FullPacketParser.emit (node:events:517:28)
at addChunk (/bot/node_modules/readable-stream/lib/internal/streams/readable.js:323:12)
at readableAddChunk (/bot/node_modules/readable-stream/lib/internal/streams/readable.js:300:9)
at Readable.push (/bot/node_modules/readable-stream/lib/internal/streams/readable.js:246:10)
Your current code
Expected behavior
Bot works
The text was updated successfully, but these errors were encountered: