From 9fa6957fa1eda2ae4b94dd381e21794b5b13f687 Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 13 Sep 2023 18:20:34 -0500 Subject: improve some logging --- azalea-entity/src/plugin/indexing.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'azalea-entity/src/plugin') diff --git a/azalea-entity/src/plugin/indexing.rs b/azalea-entity/src/plugin/indexing.rs index 507e6737..eb874437 100644 --- a/azalea-entity/src/plugin/indexing.rs +++ b/azalea-entity/src/plugin/indexing.rs @@ -287,10 +287,12 @@ pub fn remove_despawned_entities_from_indexes( instance.entities_by_chunk.remove(&chunk); } } else { - warn!("Tried to remove entity from chunk {chunk:?} but the entity was not there."); + warn!( + "Tried to remove entity {entity:?} from chunk {chunk:?} but the entity was not there." + ); } } else { - debug!("Tried to remove entity from chunk {chunk:?} but the chunk was not found."); + debug!("Tried to remove entity {entity:?} from chunk {chunk:?} but the chunk was not found."); } // remove it from the uuid index if entity_infos.entity_by_uuid.remove(uuid).is_none() { -- cgit v1.2.3