diff options
Diffstat (limited to 'azalea-world/src/entity')
| -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)?), |
