Skip to content

Commit

Permalink
change some warns to debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-1 committed Jan 29, 2025
1 parent 6d8d937 commit 6c681ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ perf.data.old
heaptrack.*

rustc-ice-*

# not created by azalea itself, sometimes used for debugging since the docs specifically mentions using azalea.log
azalea.log
6 changes: 4 additions & 2 deletions azalea-client/src/packet_handling/game.rs
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,8 @@ pub fn process_packet_events(ecs: &mut World) {
let entity = entity_id_index.get(MinecraftEntityId(p.id));

let Some(entity) = entity else {
warn!("Server sent an entity data packet for an entity id ({}) that we don't know about", p.id);
// some servers like hypixel trigger this a lot :(
debug!("Server sent an entity data packet for an entity id ({}) that we don't know about", p.id);
continue;
};
let entity_kind = *entity_kind_query.get(entity).unwrap();
Expand Down Expand Up @@ -964,7 +965,8 @@ pub fn process_packet_events(ecs: &mut World) {
}),
});
} else {
warn!(
// often triggered by hypixel :(
debug!(
"Got move entity pos rot packet for unknown entity id {}",
p.entity_id
);
Expand Down

0 comments on commit 6c681ad

Please sign in to comment.