mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +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.
|
||||
#[derive(Component)]
|
||||
pub struct SentSpawnEvent;
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn spawn_listener(
|
||||
query: Query<(Entity, &LocalPlayerEvents), (Added<InLoadedChunk>, Without<SentSpawnEvent>)>,
|
||||
mut commands: Commands,
|
||||
|
|
Loading…
Add table
Reference in a new issue