summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-04-30 13:20:43 +1000
committermd_5 <git@md-5.net>2017-04-30 13:20:43 +1000
commitfecf4b4137c5ce01fb18b697da244a6753b35c2b (patch)
treeeba2a412ea0e0276f03e09447f4ad24ad67a6af5 /src/main
parentd9d7552262ec4b0a6c9a063bb4d6e305fafe705b (diff)
downloadcraftbukkit-fecf4b4137c5ce01fb18b697da244a6753b35c2b.tar
craftbukkit-fecf4b4137c5ce01fb18b697da244a6753b35c2b.tar.gz
craftbukkit-fecf4b4137c5ce01fb18b697da244a6753b35c2b.tar.lz
craftbukkit-fecf4b4137c5ce01fb18b697da244a6753b35c2b.tar.xz
craftbukkit-fecf4b4137c5ce01fb18b697da244a6753b35c2b.zip
SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client.
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java
index e67877d3..8e5405d1 100644
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java
@@ -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;