SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client.

This commit is contained in:
md_5 2017-04-30 13:20:43 +10:00
parent d9d7552262
commit fecf4b4137

View File

@ -32,7 +32,7 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
static final ItemMetaKey GENERATION = new ItemMetaKey("generation");
static final int MAX_PAGES = 50;
static final int MAX_PAGE_LENGTH = 256;
static final int MAX_TITLE_LENGTH = 16;
static final int MAX_TITLE_LENGTH = 32;
protected String title;
protected String author;