Closed unixfox closed 6 years ago
what is the window
variable?
console.log(window)
what is the mineflayer
and prismarine-windows
version?
npm info mineflayer version
npm info prismarine-window version
i also just noticed that the error is happening in line 50 but the script is only 27 lines long.
re-open if you still have the issue
I'm trying to activate the item that the bot will get when spawning on the minecraft server (
us.stratus.network
) and then print the items of the window opened by the server to the console.This my code:
I get this error when I launch it:
I tried to downgrade to mineflayer 1.5.1 when
prismarine-windows
was a library inside themineflayer
repository but that doesn't resolve the issue.What did I do wrong?