diff --git a/azalea-world/src/world.rs b/azalea-world/src/world.rs index 6b72c2c5..a650f152 100644 --- a/azalea-world/src/world.rs +++ b/azalea-world/src/world.rs @@ -102,6 +102,11 @@ impl From for MinecraftEntityId { Self(id) } } +impl From for MinecraftEntityId { + fn from(id: u32) -> Self { + Self(id as i32) + } +} /// Keep track of certain metadatas that are only relevant for this partial /// world.