mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 13:06:02 +01:00
Change book limit to allow for automatically generated colour codes
This commit is contained in:
parent
36e3402814
commit
6e3cec8bc7
@ -31,7 +31,7 @@ public class CraftMetaBook extends CraftMetaItem implements BookMeta {
|
|||||||
static final ItemMetaKey RESOLVED = new ItemMetaKey("resolved");
|
static final ItemMetaKey RESOLVED = new ItemMetaKey("resolved");
|
||||||
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 = 320; // 256 limit + 64 characters to allow for psuedo colour codes
|
||||||
static final int MAX_TITLE_LENGTH = 32;
|
static final int MAX_TITLE_LENGTH = 32;
|
||||||
|
|
||||||
protected String title;
|
protected String title;
|
||||||
|
Loading…
Reference in New Issue
Block a user