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

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2017-04-30 13:20:43 +10:00
parent f965ee5c7f
commit de05a02353

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;