Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 08:10:11 +01:00
811aba3339
* Validate NBT tags of written_book like Java edition * Update page count and character count limits The maximum number of characters allowed in Java's book edit screen is 1024 for each page and 16 for the title. However, the packet itself has a limit of 8192 * 3 bytes for each page and 128 * 3 bytes for the title. * Fix writable book losing changes when signing Bedrock sends a 3 action InventoryTransactionPacket after the player changes a page. This causes Geyser to send a ServerboundEditBookPacket with an outdated NBT. The Java responses with a ClientboundContainerSetSlotPacket that overwrites any NBT Changes from BedrockBookEditTranslator. * Add a comment for the title length check * Specify color in Component.translatable |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |