You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to make a bot to AFK for me on an offline server with a login plugin. The server has a custom resource pack. When I connect, the bot first has to deny the resource pack, and then it crashes here:
TypeError: Serialization error for configuration.toServer : Write error for undefined : Cannot read properties of undefined (reading '0')
at Function.parse (***\node_modules\uuid-1345\index.js:137:36)
at module.exports.Write.UUID (***\node_modules\minecraft-protocol\src\datatypes\compiler-minecraft.js:48:76)
And it resolved my issue. Additionally, I was able to reproduce the bug on a localhost server using no other plugins or configs other than setting a server resource pack.
Versions
Detailed description of a problem
I am trying to make a bot to AFK for me on an offline server with a login plugin. The server has a custom resource pack. When I connect, the bot first has to deny the resource pack, and then it crashes here:
What did you try yet?
I edited compiler-minecraft and changed this:
into this:
And it resolved my issue. Additionally, I was able to reproduce the bug on a localhost server using no other plugins or configs other than setting a server resource pack.
Your current code
The text was updated successfully, but these errors were encountered: