You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Все нормально работала, но вдруг именно сегодня в коде началась выписываться ошибка, пробыл фиксануть ее но так и не получилось
Ошибка:
/home/container/node_modules/mineflayer/lib/plugins/game.js:46
const { minY, height } = bot.registry.dimensionsByName[bot.game.dimension]
^
TypeError: Cannot read properties of undefined (reading 'overworld')
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:526: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:514: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)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Все нормально работала, но вдруг именно сегодня в коде началась выписываться ошибка, пробыл фиксануть ее но так и не получилось
Ошибка:
/home/container/node_modules/mineflayer/lib/plugins/game.js:46
const { minY, height } = bot.registry.dimensionsByName[bot.game.dimension]
^
TypeError: Cannot read properties of undefined (reading 'overworld')
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:526: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:514: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)
Beta Was this translation helpful? Give feedback.
All reactions