mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
improve some logging
This commit is contained in:
parent
225e94d732
commit
9fa6957fa1
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue