From 40e4096d2435533eacb817ad5a5e12c7ced8fa5c Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Wed, 23 Oct 2024 00:08:13 -0500 Subject: 1.21.2 (#171) * partially implement 24w35a * start updating to 24w39a + itemcomponent codegen * fix codegen and broken packets to finish updating to 24w39a :D * update to 1.21.2 except for blocks * update ServerboundPlayerInputPacket impl --- azalea/src/nearest_entity.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea/src') diff --git a/azalea/src/nearest_entity.rs b/azalea/src/nearest_entity.rs index 363c8fb0..415c7266 100644 --- a/azalea/src/nearest_entity.rs +++ b/azalea/src/nearest_entity.rs @@ -129,7 +129,7 @@ where position: &'a Position, instance_name: &'a InstanceName, max_distance: f64, - ) -> impl Iterator + '_ { + ) -> impl Iterator + 'a { self.filtered_entities .iter() .filter_map(move |(target_entity, e_instance, e_pos)| { @@ -156,7 +156,7 @@ where &'a self, entity: Entity, max_distance: f64, - ) -> impl Iterator + '_ { + ) -> impl Iterator + 'a { let position; let instance_name; if let Ok((pos, instance)) = self.all_entities.get(entity) { -- cgit v1.2.3