From 341e99403b3b215a4ef09b02c0bd9ee40ac4205f Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 22 Feb 2026 18:41:46 -0845 Subject: use should_apply_entity_update for move_entity_pos packets --- azalea-client/src/plugins/packet/relative_updates.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'azalea-client/src/plugins/packet/relative_updates.rs') 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; }; -- cgit v1.2.3