Replies: 3 comments 3 replies
-
worldName should be a string |
Beta Was this translation helpful? Give feedback.
1 reply
-
Can you console.log worldName |
Beta Was this translation helpful? Give feedback.
1 reply
-
ok so that's a bug, I'm transforming that into an issue |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't understand how to save a world using https://github.com/PrismarineJS/mineflayer/blob/master/examples/anvil_saver/saver.js
(If I understand correctly that this bot downloads the world in which to be. If not, is it possible to download а world?)
I got an error:
.
.
.
If I change the code
worldName = worldName.replace(/:/g, '_')
toworldName = String(worldName).replace(/:/g, '_')
, it gives another error:.
.
.
worldName = worldName.replace(/:/g, '_')
==> worldName value isworldName = String(worldName).replace(/:/g, '_')
==> worldName value is[object Object]
Beta Was this translation helpful? Give feedback.
All reactions