bug with 1 21 1 server but with viaversion in lobby #3455
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
i start bot and i think in lobby i have crash
Your current code
Additional context
const { minY, height } = bot.registry.dimensionsByName[bot.game.dimension]
^
TypeError: Cannot read properties of undefined (reading 'the_end')
at handleRespawnPacketData (/home/container/node_modules/mineflayer/lib/plugins/game.js:46:63)
at Client. (/home/container/node_modules/mineflayer/lib/plugins/game.js:80:5)
at Client.emit (node:events:531:35)
at emitPacket (/home/container/node_modules/minecraft-protocol/src/client.js:83:12)
at FullPacketParser. (/home/container/node_modules/minecraft-protocol/src/client.js:112:9)
at FullPacketParser.emit (node:events:519:28)
at addChunk (/home/container/node_modules/protodef/node_modules/readable-stream/lib/_stream_readable.js:279:12)
at readableAddChunk (/home/container/node_modules/protodef/node_modules/readable-stream/lib/_stream_readable.js:262:11)
at Readable.push (/home/container/node_modules/protodef/node_modules/readable-stream/lib/_stream_readable.js:228:10)
at Transform.push (/home/container/node_modules/protodef/node_modules/readable-stream/lib/_stream_transform.js:132:32)
The text was updated successfully, but these errors were encountered: