diff options
| author | mat <git@matdoes.dev> | 2025-01-29 05:45:17 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-01-29 05:45:17 +0000 |
| commit | 6c681adc4dcf70caa25340838c4f2fef67b657d4 (patch) | |
| tree | a54805bdc4108ba273570b56ded22fc9ebb5e9f4 | |
| parent | 6d8d937d47646a930076c2512fe06055d0ca057f (diff) | |
| download | azalea-drasl-6c681adc4dcf70caa25340838c4f2fef67b657d4.tar.xz | |
change some warns to debugs
| -rwxr-xr-x | .gitignore | 3 | ||||
| -rw-r--r-- | azalea-client/src/packet_handling/game.rs | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -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 diff --git a/azalea-client/src/packet_handling/game.rs b/azalea-client/src/packet_handling/game.rs index 33b51071..d715d6c6 100644 --- a/azalea-client/src/packet_handling/game.rs +++ b/azalea-client/src/packet_handling/game.rs @@ -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(); @@ -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 ); |
