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:
parent
b25474ad66
commit
4c53498f07
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue