Open RepeatGitHub opened 2 years ago
Here's a screenshot of what it looks like.
I encounter this too
on a chromebook
The reason for this is because hotbar.init is in a spawn block within hud.js:
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.
I've been playing on Chrome, and noticed something odd; the hotbar is showing question marks, and I can't switch slots. It could be only because it's on Chrome browser, or just my potato computer, since I don't think too many others are encountering this bug.