diff options
| author | mat <git@matdoes.dev> | 2023-08-22 01:56:56 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-08-22 01:56:56 -0500 |
| commit | 07e3236f0b8234ab73c3bd1a0aecd0aeb13dffab (patch) | |
| tree | df63045f64e9126fe6827247a77d1fa2eb5a38d6 /azalea | |
| parent | 47a280212ab2e3b8c1afb34cad30488a2ea1071f (diff) | |
| download | azalea-drasl-07e3236f0b8234ab73c3bd1a0aecd0aeb13dffab.tar.xz | |
fix entities not being despawned
closes #103
Diffstat (limited to 'azalea')
| -rw-r--r-- | azalea/examples/nearest_entity.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/azalea/examples/nearest_entity.rs b/azalea/examples/nearest_entity.rs index 9ac6331b..22a8b863 100644 --- a/azalea/examples/nearest_entity.rs +++ b/azalea/examples/nearest_entity.rs @@ -64,10 +64,7 @@ fn log_nearby_item_drops( let item_drop = item_drops.get(entity).unwrap(); let kind = item_drop.kind(); - println!( - "Bot {:?} can see an {:?} {:.1} meters away.", - bot_id, kind, distance - ); + println!("Bot {bot_id:?} can see an {kind:?} {distance:.1} meters away."); } } } |
