aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-03-13 21:27:48 +0000
committermat <git@matdoes.dev>2025-03-13 21:27:48 +0000
commit95bdb362ba3a77a139a129c716cc4e05a8fa1828 (patch)
tree268dd618bacba5afd658a3aa12bba33abea0132e /azalea-entity
parentf8140e418805aff1f6fb35c55a77d61a3a3656af (diff)
downloadazalea-drasl-95bdb362ba3a77a139a129c716cc4e05a8fa1828.tar.xz
improve Swarm docs and change an indexing warning to a debug log
Diffstat (limited to 'azalea-entity')
-rw-r--r--azalea-entity/src/plugin/indexing.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/azalea-entity/src/plugin/indexing.rs b/azalea-entity/src/plugin/indexing.rs
index 4e0902e7..6725197e 100644
--- a/azalea-entity/src/plugin/indexing.rs
+++ b/azalea-entity/src/plugin/indexing.rs
@@ -224,7 +224,9 @@ pub fn remove_despawned_entities_from_indexes(
warn!("Tried to remove entity {entity:?} from the uuid index but it was not there.");
}
if instance.entity_by_id.remove(minecraft_id).is_none() {
- warn!("Tried to remove entity {entity:?} from the id index but it was not there.");
+ debug!(
+ "Tried to remove entity {entity:?} from the id index but it was not there. This may be expected if you're in a shared instance."
+ );
}
// remove it from every client's EntityIdIndex