aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-09-13 18:20:34 -0500
committermat <git@matdoes.dev>2023-09-13 18:20:34 -0500
commit9fa6957fa1eda2ae4b94dd381e21794b5b13f687 (patch)
treedd5ff0d3e718a6fea6b9c7da2bcd932564917851 /azalea-entity/src
parent225e94d7323e699a8140179a878d7b0d9882e100 (diff)
downloadazalea-drasl-9fa6957fa1eda2ae4b94dd381e21794b5b13f687.tar.xz
improve some logging
Diffstat (limited to 'azalea-entity/src')
-rw-r--r--azalea-entity/src/plugin/indexing.rs6
1 files changed, 4 insertions, 2 deletions
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() {