Closed tyjtyj closed 1 year ago
Fix: const minecraftHawkEye = require('minecrafthawkeye'); bot.loadPlugin(minecraftHawkEye.default)
Fix: const minecraftHawkEye = require('minecrafthawkeye'); bot.loadPlugin(minecraftHawkEye.default)
This fixed the issue
Could you PR the fix?
Could you PR the fix?
Done
Versions
Detailed description of a problem
A clear and concise description of what the problem is, with as much context as possible. What are you building? What problem are you trying to solve? mineflayer/examples/perfectShotBow.js
dumping errors
What did you try yet? nodejs v14 - 18 with same result
npm i minecrafthawkeye
Did you try any method from the API? this is provided examples Did you try any example? Any error from those? Exmples not working
Your current code
Expected behavior
A clear and concise description of what you expected to happen. It should load
Additional context
Add any other context about the problem here. https://github.com/sefirosweb/minecraftHawkEye/issues/20