Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bot.game.dimension returns the dimension the bot logged on instead of the current one #136

Closed
hideki2k02 opened this issue Mar 29, 2021 · 2 comments

Comments

@hideki2k02
Copy link

Hello, today i asked around the Discord if someone knew a fix for this problem but nothing pooped up, so i decided to open this Issue Page.

Every time i try to print bot.game.dimension, it always print out the dimension the bot logged in, even if i'm in another dimension at the moment. i'm trying to print it with the following command:

console.log(The bot has been killed at ${bot_current_position} by ${bot_nearest_player.username} on dimension ${bot.game.dimension})

Another user was also having this problem, he mentioned that the problem happend for him before the "Karangs world refactor".

@u9g
Copy link
Member

u9g commented Mar 29, 2021

this should be an issue in mineflayer's repo

@hideki2k02
Copy link
Author

I'll move it to Mineflayer then, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants