diff options
| author | mat <github@matdoes.dev> | 2022-10-15 16:53:34 -0500 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2022-10-15 16:53:34 -0500 |
| commit | 98224cf91337aa312b72de87ea4c1b22794619b2 (patch) | |
| tree | a00f3468543d292c1b6f4eb212fcc3e3b3e13e2e /azalea-world/src/entity/data.rs | |
| parent | a348f67b9646cf51bedf413bf79271391bdb23b2 (diff) | |
| download | azalea-drasl-98224cf91337aa312b72de87ea4c1b22794619b2.tar.xz | |
fix clippy warnings
Diffstat (limited to 'azalea-world/src/entity/data.rs')
| -rw-r--r-- | azalea-world/src/entity/data.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-world/src/entity/data.rs b/azalea-world/src/entity/data.rs index 3fd07ecb..0f90c790 100644 --- a/azalea-world/src/entity/data.rs +++ b/azalea-world/src/entity/data.rs @@ -110,7 +110,7 @@ impl McBufReadable for EntityDataValue { if val == 0 { None } else { - Some((val - 1) as u32) + Some(val - 1) } }), 18 => EntityDataValue::Pose(Pose::read_from(buf)?), |
