diff options
| author | mat <github@matdoes.dev> | 2022-06-25 17:37:29 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-06-25 17:37:29 -0500 |
| commit | e8deda5d2e45eb634700614009cbcc5b35949e26 (patch) | |
| tree | dab321d33c66e20e8b558d9777550a3d27cd4b59 /azalea-buf/src/read.rs | |
| parent | 978880b756aa052226f77c21e8e9de9b40070152 (diff) | |
| download | azalea-drasl-e8deda5d2e45eb634700614009cbcc5b35949e26.tar.xz | |
clippo
Diffstat (limited to 'azalea-buf/src/read.rs')
| -rw-r--r-- | azalea-buf/src/read.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-buf/src/read.rs b/azalea-buf/src/read.rs index 92c4d79b..684404bc 100644 --- a/azalea-buf/src/read.rs +++ b/azalea-buf/src/read.rs @@ -231,7 +231,7 @@ impl McBufVarReadable for i64 { for i in 0..8 { buf.read_exact(&mut buffer) .map_err(|_| "Invalid VarLong".to_string())?; - ans |= ((buffer[0] & 0b0111_1111) as i64) << 7 * i; + ans |= ((buffer[0] & 0b0111_1111) as i64) << (7 * i); if buffer[0] & 0b1000_0000 == 0 { break; } |
