1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 23:44:38 +00:00

ignore clippy warning on spawn_listener

This commit is contained in:
mat 2025-03-25 04:32:03 +00:00
commit 4c53498f07

View file

@ -178,6 +178,7 @@ pub fn login_listener(query: Query<&LocalPlayerEvents, Added<MinecraftEntityId>>
/// sending the event twice for the same client. /// sending the event twice for the same client.
#[derive(Component)] #[derive(Component)]
pub struct SentSpawnEvent; pub struct SentSpawnEvent;
#[allow(clippy::type_complexity)]
pub fn spawn_listener( pub fn spawn_listener(
query: Query<(Entity, &LocalPlayerEvents), (Added<InLoadedChunk>, Without<SentSpawnEvent>)>, query: Query<(Entity, &LocalPlayerEvents), (Added<InLoadedChunk>, Without<SentSpawnEvent>)>,
mut commands: Commands, mut commands: Commands,