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

Data buffer not correct size (was 61283, expected 61696) #189

Open
cliquant opened this issue Jul 10, 2022 · 1 comment
Open

Data buffer not correct size (was 61283, expected 61696) #189

cliquant opened this issue Jul 10, 2022 · 1 comment

Comments

@cliquant
Copy link

cliquant commented Jul 10, 2022

[ERROR] Error: Data buffer not correct size (was 61283, expected 61696)
node:assert:123
  throw new AssertionError(obj);
  ^

AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

666112 !== 665699

    at Client.<anonymous> (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\mineflayer\lib\plugins\blocks.js:326:12)
    at Client.emit (node:events:527:28)
    at FullPacketParser.<anonymous> (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\minecraft-protocol\src\client.js:91:12)
    at FullPacketParser.emit (node:events:527:28)
    at addChunk (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\readable-stream\lib\_stream_readable.js:298:12)
    at readableAddChunk (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\readable-stream\lib\_stream_readable.js:280:11)
    at FullPacketParser.Readable.push (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\readable-stream\lib\_stream_readable.js:241:10)
    at FullPacketParser.Transform.push (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\readable-stream\lib\_stream_transform.js:139:32)
    at FullPacketParser._transform (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\protodef\src\serializer.js:89:10)
    at FullPacketParser.Transform._read (C:\Users\nikel\OneDrive\Dators\MinecraftBot\node_modules\readable-stream\lib\_stream_transform.js:177:10) {
  generatedMessage: true,
  code: 'ERR_ASSERTION',
  actual: 666112,
  expected: 665699,
  operator: 'strictEqual'
}

I'm using 1.8.8 version

@extremeheat
Copy link
Member

What server or world are you loading ? Can you provide steps to reproduce?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants