mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
don't warn on release mode for unknown PlayerInfoUpdate
This commit is contained in:
parent
fe423416b4
commit
ed00a5b8f1
1 changed files with 5 additions and 4 deletions
|
@ -568,10 +568,11 @@ pub fn process_packet_events(ecs: &mut World) {
|
|||
info: info.clone(),
|
||||
});
|
||||
} else {
|
||||
warn!(
|
||||
"Ignoring PlayerInfoUpdate for unknown player {}",
|
||||
updated_info.profile.uuid
|
||||
);
|
||||
let uuid = updated_info.profile.uuid;
|
||||
#[cfg(debug_assertions)]
|
||||
warn!("Ignoring PlayerInfoUpdate for unknown player {uuid}");
|
||||
#[cfg(not(debug_assertions))]
|
||||
debug!("Ignoring PlayerInfoUpdate for unknown player {uuid}");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue