From cf66c4be100c898c64d57f9b92f31f809764dc2e Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 6 Mar 2025 04:11:05 +0000 Subject: fix despawning entities on dimension change --- azalea-world/src/world.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'azalea-world/src') diff --git a/azalea-world/src/world.rs b/azalea-world/src/world.rs index 3428ab5e..6b72c2c5 100644 --- a/azalea-world/src/world.rs +++ b/azalea-world/src/world.rs @@ -97,6 +97,11 @@ impl Display for MinecraftEntityId { write!(f, "eid({})", self.0) } } +impl From for MinecraftEntityId { + fn from(id: i32) -> Self { + Self(id) + } +} /// Keep track of certain metadatas that are only relevant for this partial /// world. -- cgit v1.2.3