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

Large areas of land not rendering, unable to open inventory, hotbar rarely works #325

Open
Derplord3264 opened this issue Aug 24, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Derplord3264
Copy link

I can't open the inventory by pressing E, and MASSIVE areas of land are not rendering, making it unplayable. The hotbar rarely works, instead showing question marks in the slots. Help!
unrendered chunks:
image
hotbar:
image

@K-L-R-3
Copy link

K-L-R-3 commented Sep 11, 2022

I can't open inventory or use the hot bar. I have question marks like you. Have you found a solution?

@AwesomestCode
Copy link
Member

Can you please submit a console log?

@Derplord3264
Copy link
Author

Here is the console log.
webclient.prismarine.js.org-1667406238965.log

@kf106
Copy link
Contributor

kf106 commented Dec 10, 2022

Inventory problem: hotbar.init is in a spawn block within hud.js:

link to relevant line

The index.js has a bot.once('spawn') which initializes hud. Perhaps this worked before because the spawn was caught again in time in hud. It isn't now, and the whole bot.on('spawn') in hud.js is only catching the second spawn. Hence the hotbar doesn't work the first time around, but once you die and spawn again, it does.

Moving hotbar.init() up to, say, line 250 just under chat.init() makes it work first spawn as well.

@rom1504 rom1504 added the bug Something isn't working label Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants