mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
remove some debug printlns
This commit is contained in:
parent
483ce9164e
commit
57e5a0f0b9
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue