Update book write/sign packet for 1.20.5+ #3495
Labels
possible bug
Stage1
just created by someone new to the project, we don't know yet if it deserves an implementation / a f
Versions
Detailed description of a problem
The book write/sign packet was changed in 1.20.5, therefore the solution between 1.18-1.20.4 does not work.
Your current code
Expected behavior
When book is typed in the chat, the bot should equip a book and write a page containing "test" to it.
Actual behavior
The program will error and shut down with the message "TypeError: SizeOf error for undefined : Cannot read properties of undefined (reading 'length')"
The text was updated successfully, but these errors were encountered: