Open
Description
- The FAQ doesn't contain a resolution to my issue
Versions
- mineflayer: 4.26.0
- server: Paper with 1.21.4-211-main@6ea4202 for Minecraft 1.21.4
- node: bun 1.2.5
Detailed description of a problem
The event "scoreUpdated" is not called
What did you try yet?
- Tried with plugin/custom scoreboard objectives
- Tried with vanilla screboard
- using bot._client.on("scoreboard_score", myCustomHandler) => It works
Your current code
/*
Too long to be posted here, however a snippet could be this one
*/
bot.on("scoreUpdated", (scoreboard,item) => console.log(scoreboard))
Expected behavior
The event should be called
Additional context
I found the issue:
In "scoreboard.js" line 43, packet.action is undefined, hence why "the bot.emit('scoreUpdated', scoreboard, updated)" is never called.
The action field inside the packet is not sent anymore since 1.20.3