aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2023-08-23 22:42:07 -0500
committermat <git@matdoes.dev>2023-08-23 22:42:07 -0500
commit57e5a0f0b96a38674bd18ac38d2d07e4f4ca2fd6 (patch)
treedf2e0fbc2b9b577e95215bd7de3b9f9c8a9f8e5f
parent483ce9164e0d593f17e6725d3eb735a1d481ca87 (diff)
downloadazalea-drasl-57e5a0f0b96a38674bd18ac38d2d07e4f4ca2fd6.tar.xz
remove some debug printlns
-rw-r--r--azalea-client/src/packet_handling.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs
index eebf48d9..5767d4d2 100644
--- a/azalea-client/src/packet_handling.rs
+++ b/azalea-client/src/packet_handling.rs
@@ -839,19 +839,17 @@ pub fn process_packet_events(ecs: &mut World) {
let (mut commands, mut query, instance_container) = system_state.get_mut(ecs);
let Ok(instance_name) = query.get_mut(player_entity) else {
- println!("no instance name");
continue;
};
let Some(instance) = instance_container.get(&instance_name) else {
- println!("no instance");
continue;
};
for &id in &p.entity_ids {
if let Some(entity) =
instance.write().entity_by_id.remove(&MinecraftEntityId(id))
{
- println!("despawning entity");
+ trace!("despawning entity");
commands.entity(entity).despawn();
}
}