-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fjust created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug
Description
- [Yes] The FAQ doesn't contain a resolution to my issue
Versions
- mineflayer: 4.33.0
- server: Paper 1.21.8
- node: 20.19.19
Detailed description of a problem
When connecting to Minecraft servers, everything was going fine but I hit a 1.21.8 Paper server and a stream of PartialReadError: Unexpected buffer end while reading VarInt is thrown immediately after the bot successfully connects. The stack trace consistently points to an issue with parsing packet_entity_metadata.
Despite the log errors I was still able to join
Your current code
this.currentBot = mineflayer.createBot({
host: server.ip,
port: server.port,
username: `[email protected]`,
auth: 'microsoft',
// version: '1.21.8', // Auto-detect version
viewDistance: 1,
hideErrors: false,
});
Expected behavior
Connection to succeed without error.
Additional context
Logs are here: https://pastebin.com/BCWFTW6i
Metadata
Metadata
Assignees
Labels
Stage1just created by someone new to the project, we don't know yet if it deserves an implementation / a fjust created by someone new to the project, we don't know yet if it deserves an implementation / a fpossible bug