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
/*assert.notStrictEqual(window.selectedItem.type, null) ^TypeError: Cannot read properties of null (reading 'type') at clickDest (C:\Users\Haasin azeem\Documents\mr_zxtr\node_modules\mineflayer\lib\plugins\inventory.js:268:51) at transferOne (C:\Users\Haasin azeem\Documents\mr_zxtr\node_modules\mineflayer\lib\plugins\inventory.js:265:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async transfer (C:\Users\Haasin azeem\Documents\mr_zxtr\node_modules\mineflayer\lib\plugins\inventory.js:246:5) at async window.deposit (C:\Users\Haasin azeem\Documents\mr_zxtr\node_modules\mineflayer\lib\plugins\inventory.js:343:7)Node.js v18.15.0*/
The problem is in the second if statement :
/*if (item.type === 859) */
when i remove it the error goes away but then window.deposit gives me error
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
-
My code is :
it keeps giving me the error :
The problem is in the second if statement :
when i remove it the error goes away but then window.deposit gives me error
Beta Was this translation helpful? Give feedback.
All reactions