Change book limit to allow for automatically generated colour codes

This commit is contained in:
md_5 2017-05-14 11:19:38 +10:00
parent 36e3402814
commit 6e3cec8bc7

View File

@ -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;