PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.74k stars 2.27k forks source link

Remove arbitrary writable book page limit #11228

Closed Lulu13022002 closed 1 month ago

Lulu13022002 commented 1 month ago

The previous limit was 1024 bytes per page which doesn't make sense since the game allow up to 1024 chars per page and a character might take more bytes. So using some large unicode char the limit can be reach easily using a vanilla client. It should be safe to not check this for now since the item meta conversion that happens in the later event should trim the page anyway.

This might be related to https://github.com/PaperMC/Paper/issues/10354