diff options
| author | mat <git@matdoes.dev> | 2023-09-13 18:20:34 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-13 18:20:34 -0500 |
| commit | 9fa6957fa1eda2ae4b94dd381e21794b5b13f687 (patch) | |
| tree | dd5ff0d3e718a6fea6b9c7da2bcd932564917851 | |
| parent | 225e94d7323e699a8140179a878d7b0d9882e100 (diff) | |
| download | azalea-drasl-9fa6957fa1eda2ae4b94dd381e21794b5b13f687.tar.xz | |
improve some logging
| -rw-r--r-- | azalea-client/src/packet_handling.rs | 2 | ||||
| -rw-r--r-- | azalea-entity/src/plugin/indexing.rs | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs index 5e037864..c103bef4 100644 --- a/azalea-client/src/packet_handling.rs +++ b/azalea-client/src/packet_handling.rs @@ -1056,7 +1056,7 @@ pub fn process_packet_events(ecs: &mut World) { } ClientboundGamePacket::OpenSignEditor(_) => {} ClientboundGamePacket::Ping(p) => { - debug!("Got ping packet {:?}", p); + trace!("Got ping packet {:?}", p); let mut system_state: SystemState<Query<&mut LocalPlayer>> = SystemState::new(ecs); let mut query = system_state.get_mut(ecs); 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() { |
