mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Raise the limit slightly to account for colors
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
@@ -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 = "\"\"";
|
||||||
+ }
|
+ }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user