mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-26 18:21:35 +01:00
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:
parent
f965ee5c7f
commit
de05a02353
@ -32,7 +32,7 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
|
|||||||
static final ItemMetaKey GENERATION = new ItemMetaKey("generation");
|
static final ItemMetaKey GENERATION = new ItemMetaKey("generation");
|
||||||
static final int MAX_PAGES = 50;
|
static final int MAX_PAGES = 50;
|
||||||
static final int MAX_PAGE_LENGTH = 256;
|
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 title;
|
||||||
protected String author;
|
protected String author;
|
||||||
|
Loading…
Reference in New Issue
Block a user