diff options
| author | mat <github@matdoes.dev> | 2021-12-10 16:27:51 +0000 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-10 16:28:12 +0000 |
| commit | f9f7e3498e63d6553b67cefc3958c98f009b33a2 (patch) | |
| tree | 38203a31089fabe1b67b9f6ed6e7e55591929966 /minecraft-protocol/src/mc_buf.rs | |
| parent | f6a3f088ac1cd9526e6b93e03ea9929658478565 (diff) | |
| download | azalea-drasl-f9f7e3498e63d6553b67cefc3958c98f009b33a2.tar.xz | |
reading packets works
Diffstat (limited to 'minecraft-protocol/src/mc_buf.rs')
| -rw-r--r-- | minecraft-protocol/src/mc_buf.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/minecraft-protocol/src/mc_buf.rs b/minecraft-protocol/src/mc_buf.rs index b83a9599..68ce6de4 100644 --- a/minecraft-protocol/src/mc_buf.rs +++ b/minecraft-protocol/src/mc_buf.rs @@ -5,8 +5,6 @@ use std::io::{Cursor, Write}; use byteorder::{BigEndian, ReadBytesExt, WriteBytesExt}; use tokio::io::{AsyncRead, AsyncReadExt, BufReader}; -// const MAX_VARINT_SIZE: u32 = 5; -// const MAX_VARLONG_SIZE: u32 = 10; // const DEFAULT_NBT_QUOTA: u32 = 2097152; const MAX_STRING_LENGTH: u16 = 32767; // const MAX_COMPONENT_STRING_LENGTH: u32 = 262144; |
