diff options
author | Zach Brown <[email protected]> | 2017-04-29 20:43:14 -0500 |
---|---|---|
committer | Zach Brown <[email protected]> | 2017-04-29 20:43:14 -0500 |
commit | e9abb69799077641ee7948ab080a358dca97fa6a (patch) | |
tree | ef9fc22ad1aafdf9ec7aa7829a82c3361cb16095 | |
parent | 974b0afca91844fed61c5fda9293bbcd88752c2f (diff) | |
download | Paper-e9abb69799077641ee7948ab080a358dca97fa6a.tar.gz Paper-e9abb69799077641ee7948ab080a358dca97fa6a.zip |
Raise book max title length to 32
-rw-r--r-- | Spigot-Server-Patches/0212-Raise-book-max-title-length-to-32.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Spigot-Server-Patches/0212-Raise-book-max-title-length-to-32.patch b/Spigot-Server-Patches/0212-Raise-book-max-title-length-to-32.patch new file mode 100644 index 0000000000..6f929357ee --- /dev/null +++ b/Spigot-Server-Patches/0212-Raise-book-max-title-length-to-32.patch @@ -0,0 +1,22 @@ +From 83fd1a178278b176c9cebc5a898212e01b977c27 Mon Sep 17 00:00:00 2001 +From: Zach Brown <[email protected]> +Date: Sat, 29 Apr 2017 20:41:58 -0500 +Subject: [PATCH] Raise book max title length to 32 + + +diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java +index dfeeb54e6..0c7ae36b4 100644 +--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java ++++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaBook.java +@@ -36,7 +36,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; // Paper + + protected String title; + protected String author; +-- +2.12.2.windows.2 + |