[x] The FAQ doesn't contain a resolution to my issue
Versions
mineflayer: 4.23.0
server: paper 1.21.1
node: 20.13.1
Detailed description of a problem
Tried joining my minecraft server after updating to 1.21 but for some reason gave an error so I made a fresh project with just join code but it still gave the same error. The bot worked in the server on previous version.
What did you try yet?
I have no idea what causes it so I don't know what to try
Error: Read error for undefined : Invalid tag: 117 > 20
at Object.compound (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:16:21)
at Object.nbtSwitch (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:4310:47)
at Object.anonymousNbt (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:77:64)
at eval (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:136:56)
at Object.SlotComponent (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:729:9)
at eval (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:748:49)
at eval (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:753:15)
at eval (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:771:13)
at Object.Slot (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:773:9)
at Object.ingredient (eval at compile (C:\Users\240c\source\repos\KohukeExpress\node_modules\protodef\src\compiler.js:262:12), <anonymous>:998:32) {
field: 'play.toClient'
}
*/
## Expected behavior
The bot should just join the server and stay there
Versions
Detailed description of a problem
Tried joining my minecraft server after updating to 1.21 but for some reason gave an error so I made a fresh project with just join code but it still gave the same error. The bot worked in the server on previous version.
What did you try yet?
I have no idea what causes it so I don't know what to try
Your current code
/* Error code
*/