Bug with XP
MXASoundNDEv opened this issue · comments
Versions
- mineflayer: 1.16.3
- server: vanilla/spigot/paper vanilla
- node: 15.6.0
Detailed description of a problem
when it kills a moped and drops an orbit xp it gives me an error message
Error
Failed to retrieve block id, probably exp bottle TypeError: Cannot use 'in' operator to search for 'itemId' in 0
at EventEmitter.onPlayerCollect (D:\dev test\mc bot\node_modules\mineflayer-armor-manager\dist\index.js:35:35)
at EventEmitter.emit (node:events:379:20)
at Client. (D:\dev test\mc bot\node_modules\mineflayer\lib\plugins\entities.js:159:9)
at Client.emit (node:events:379:20)
at FullPacketParser. (D:\dev test\mc bot\node_modules\minecraft-protocol\src\client.js:91:12)
at FullPacketParser.emit (node:events:379:20)
at addChunk (D:\dev test\mc bot\node_modules\readable-stream\lib_stream_readable.js:298:12)
at readableAddChunk (D:\dev test\mc bot\node_modules\readable-stream\lib_stream_readable.js:280:11)
at FullPacketParser.Readable.push (D:\dev test\mc bot\node_modules\readable-stream\lib_stream_readable.js:241:10)
at FullPacketParser.Transform.push (D:\dev test\mc bot\node_modules\readable-stream\lib_stream_transform.js:139:32)
Are you running the pluggin with logErrors
option set to true
by any chance?
I believe I fixed this with #36
Closing as resolved since there was no feedback for quite some time.