Keir Finlow-Bates
Keir Finlow-Bates
I'm seeing this error regularly too.
Further investigation: this is highly reproducible by teleporting to a new area where no chunks have been loaded into .mca before. Function prismarineChunkToNbt is receiving an argument, chunk, that is...
Probably. But I'm not really a programmer. I just wanted a record of what I had to do to get the script to work. This might be a good opportunity...
(Not everything was available from pip)
Sound isn't playing inside the game because of this: The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
When collecting a dug item, the bot.inventory.slots[] value is updated and increased. When placing an item it is placed, the bot.inventory.slots[] value is not decreased. The server seems to know...
Probably a flying squid issue, with fs sending slotUpdates for collection, but not for placement.
@Karang determined that it is indeed an fs issue and produced a fix that I've tested manually. I'll submit a PR tomorrow.
The reason for this is because hotbar.init is in a spawn block within hud.js: [link to relevant line](https://github.com/PrismarineJS/prismarine-web-client/blob/9e53633286f7824bc12ef2aa75cf7bfc59bb6e06/lib/menus/hud.js#L254) The index.js has a bot.once('spawn') which initializes hud. Perhaps this worked before...
There are a number of version inconsistencies in pwc. For example, I've just noticed that there's a request for something from 1.16.4 even though both fs and pwc are supposed...