PrismarineJS / mineflayer-pathfinder

Pathfinding plugin that gives bot the ability to go from A to B
MIT License
218 stars 67 forks source link

(python) TypeError: Cannot read properties of null (reading 'blocksByName') #323

Closed dyrkuwu closed 1 year ago

dyrkuwu commented 1 year ago

yeah ` at Pipe.onStreamRead (node:internal/stream_base_commons:199:23) at Socket.Readable.push (node:internal/streams/readable:228:10) at readableAddChunk (node:internal/streams/readable:289:9) at addChunk (node:internal/streams/readable:315:12) at Socket.emit (node:events:390:28) at Socket. (C:\Users\naily\AppData\Local\Programs\Python\Python39\lib\site-packages\javascript\js\bridge.js:278:18) at Bridge.onMessage (C:\Users\naily\AppData\Local\Programs\Python\Python39\lib\site-packages\javascript\js\bridge.js:226:25) at Bridge.call (C:\Users\naily\AppData\Local\Programs\Python\Python39\lib\site-packages\javascript\js\bridge.js:136:42) at EventEmitter.loadPlugin (C:\Users\naily\node_modules\mineflayer\lib\plugin_loader.js:25:7) at inject (C:\Users\naily\node_modules\mineflayer-pathfinder\index.js:16:28)

const waterType = mcData.blocksByName.water.id 🌉 TypeError: Cannot read properties of null (reading 'blocksByName')`

dyrkuwu commented 1 year ago

Running the python gps.py example

dyrkuwu commented 1 year ago

NPM DIDNT UPDATE THE MODULE