Books with more than 100 pages get cut off when upgraded
When upgrading an older world with a book that has more than 100 pages to version 24w09a+, any pages after #100 are deleted.
The expected behavior would be for the book to keep all its pages and be upgraded properly.
How to reproduce:
- Create a world in version 1.20.4.
- Type the following command in a command block, and power it to give yourself a written book with 105 pages:
/give @p minecraft:written_book{title:"105",author:"test",pages:["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "100", "101", "102", "103", "104", "105"]}
- Upgrade the world to the latest snapshot.
Notice how the book now only has 100 pages.
2024-03-13, 05:05 PM
2024-04-08, 08:00 AM
2024-04-08, 08:00 AM
9
1