1
2
Fork 0
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:
mat 2025-01-27 18:14:53 +00:00
parent fe423416b4
commit ed00a5b8f1

View file

@ -568,10 +568,11 @@ pub fn process_packet_events(ecs: &mut World) {
info: info.clone(), info: info.clone(),
}); });
} else { } else {
warn!( let uuid = updated_info.profile.uuid;
"Ignoring PlayerInfoUpdate for unknown player {}", #[cfg(debug_assertions)]
updated_info.profile.uuid warn!("Ignoring PlayerInfoUpdate for unknown player {uuid}");
); #[cfg(not(debug_assertions))]
debug!("Ignoring PlayerInfoUpdate for unknown player {uuid}");
} }
} }