diff --git a/azalea-client/src/plugins/packet/config/mod.rs b/azalea-client/src/plugins/packet/config/mod.rs index 2e0ce354..1665997c 100644 --- a/azalea-client/src/plugins/packet/config/mod.rs +++ b/azalea-client/src/plugins/packet/config/mod.rs @@ -1,5 +1,6 @@ mod events; +use azalea_entity::LocalEntity; use azalea_protocol::packets::ConnectionProtocol; use azalea_protocol::packets::config::*; use bevy_ecs::prelude::*; @@ -108,7 +109,12 @@ impl ConfigPacketHandler<'_> { commands .entity(self.player) .remove::() - .insert(crate::JoinedClientBundle::default()); + .insert(( + crate::JoinedClientBundle::default(), + // localentity should already be added, but in case the user forgot or + // something we also add it here + LocalEntity, + )); }, ); }