Creating a written book in NBT with /give, then having a player attempt to open said book, will crash the client.
example - /give usernamehere written_book 1 {title:"Book Title",author:"Author Name",pages:["Page 1"]}
The feedback to the server is simply - userhere -- logged out due to timeout
You've structured the NBT incorrectly. See https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/item/WritableBook.php#L114 for an example.
Got it.
Shouldn't the server check the structure to prevent these crashes in the future?
Java version server allows the same command to be used without issue. Book doesn't crash the client though.
Go ahead, shoot yourself in the foot, apparently.
There's no end of special cases that will crash the client. I have no more intention of taping over this one than any other. This is Mojang's issue to fix.
Most helpful comment
Java version server allows the same command to be used without issue. Book doesn't crash the client though.
Go ahead, shoot yourself in the foot, apparently.