aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/plugins/packet/relative_updates.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-client/src/plugins/packet/relative_updates.rs')
-rw-r--r--azalea-client/src/plugins/packet/relative_updates.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/azalea-client/src/plugins/packet/relative_updates.rs b/azalea-client/src/plugins/packet/relative_updates.rs
index 2f7112b8..d6367829 100644
--- a/azalea-client/src/plugins/packet/relative_updates.rs
+++ b/azalea-client/src/plugins/packet/relative_updates.rs
@@ -23,7 +23,7 @@ use azalea_world::PartialWorld;
use bevy_ecs::prelude::*;
use derive_more::{Deref, DerefMut};
use parking_lot::RwLock;
-use tracing::warn;
+use tracing::{debug, warn};
use crate::packet::as_system;
@@ -94,7 +94,9 @@ pub fn should_apply_entity_update(
let Ok((minecraft_entity_id, updates_received, local_entity)) = entity_update_query.get(entity)
else {
- warn!("called should_apply_entity_update on an entity with missing components");
+ // this can happen when the entity despawns in the same Update that we got a
+ // relative update for it
+ debug!("called should_apply_entity_update on an entity with missing components {entity:?}");
return false;
};