mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 17:52:02 -07:00
Update to MC 1.12-pre2
This commit is contained in:
@@ -8,12 +8,12 @@ The default limit is possible to hit with 50 page books with color codes, causin
|
||||
Bump the limit up a hair to above currently seen sizes.
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PacketDataSerializer.java b/src/main/java/net/minecraft/server/PacketDataSerializer.java
|
||||
index 7a6619595..68e8c4671 100644
|
||||
index a8fc7e431..c1273e988 100644
|
||||
--- a/src/main/java/net/minecraft/server/PacketDataSerializer.java
|
||||
+++ b/src/main/java/net/minecraft/server/PacketDataSerializer.java
|
||||
@@ -0,0 +0,0 @@ public class PacketDataSerializer extends ByteBuf {
|
||||
public PacketDataSerializer a(String s) {
|
||||
byte[] abyte = s.getBytes(Charsets.UTF_8);
|
||||
byte[] abyte = s.getBytes(StandardCharsets.UTF_8);
|
||||
|
||||
- if (abyte.length > 32767) {
|
||||
- throw new EncoderException("String too big (was " + abyte.length + " bytes encoded, max " + 32767 + ")");
|
||||
|
Reference in New Issue
Block a user