diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java index c4deabe4..1f19d142 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/DefinedPacket.java @@ -56,7 +56,6 @@ public abstract class DefinedPacket public static void writeStringArray(List s, ByteBuf buf) { - Preconditions.checkArgument( s.size() <= 64, "Cannot send string array longer than 64 (got %s strings)", s.size() ); writeVarInt( s.size(), buf ); for ( String str : s ) { @@ -67,7 +66,6 @@ public abstract class DefinedPacket public static List readStringArray(ByteBuf buf) { int len = readVarInt( buf ); - Preconditions.checkArgument( len <= 64, "Cannot receive string array longer than 64 (got %s strings)", len ); List ret = new ArrayList<>( len ); for ( int i = 0; i < len; i++ ) {