Raise the limit slightly to account for colors

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
CraftBukkit/Spigot 2015-06-12 10:38:20 +01:00
parent c2130ccb81
commit 90df5ef6df

View File

@ -25,7 +25,7 @@
+ +
for (int i = 0; i < 4; ++i) { for (int i = 0; i < 4; ++i) {
String s = nbttagcompound.getString("Text" + (i + 1)); String s = nbttagcompound.getString("Text" + (i + 1));
+ if (s != null && s.length() > 384) { + if (s != null && s.length() > 2048) {
+ s = "\"\""; + s = "\"\"";
+ } + }