mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
Update Paper to MC 1.11
This commit is contained in:
@@ -16,7 +16,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
byte[] abyte = s.getBytes(Charsets.UTF_8);
|
||||
|
||||
- if (abyte.length > 32767) {
|
||||
- throw new EncoderException("String too big (was " + s.length() + " bytes encoded, max " + 32767 + ")");
|
||||
- throw new EncoderException("String too big (was " + abyte.length + " bytes encoded, max " + 32767 + ")");
|
||||
+ if (abyte.length > 44767) { // Paper - raise limit a bit more as normal means can trigger this
|
||||
+ throw new EncoderException("String too big (was " + s.length() + " bytes encoded, max " + 44767 + ")"); // Paper
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user