From fecf4b4137c5ce01fb18b697da244a6753b35c2b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 30 Apr 2017 13:20:43 +1000 Subject: [PATCH] SPIGOT-3214: Allow book titles up to 32 even though they can't be created by a Vanilla client. --- .../java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java index e67877d3d1..8e5405d182 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;