Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug with 1 21 1 server but with viaversion in lobby #3455

Open
1 task
EbatteSratte opened this issue Sep 5, 2024 · 4 comments
Open
1 task

bug with 1 21 1 server but with viaversion in lobby #3455

EbatteSratte opened this issue Sep 5, 2024 · 4 comments
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f

Comments

@EbatteSratte
Copy link

  • The FAQ doesn't contain a resolution to my issue

Versions

  • mineflayer: #.#.#
  • server: vanilla/spigot/paper #.#.#
  • node: #.#.#

Detailed description of a problem

i start bot and i think in lobby i have crash

Your current code

/*
Some code here, replace this
*/

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)

@EbatteSratte EbatteSratte added possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f labels Sep 5, 2024
@EbatteSratte
Copy link
Author

before the server upgrade everything was working

@r58iiz
Copy link

r58iiz commented Sep 6, 2024

Library hasn't been updated to work with 1.21.1 yet.

@EbatteSratte
Copy link
Author

but server has viaversion

@SanD-STAX
Copy link

II'm also having this issue, I tried using the default DIM and min_Y but it didn't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Stage1 just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Projects
None yet
Development

No branches or pull requests

3 participants