diff options
| author | mat <git@matdoes.dev> | 2025-10-12 22:10:02 -0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 22:10:02 -0300 |
| commit | 9aaf893588eaecd62f6b146897cbce8a3a5058b5 (patch) | |
| tree | eb4bd109480b8e6cfbcd89f1f309c4954d8c8f7f /azalea/examples/testbot/commands | |
| parent | 5f6ebb98c9ef5775ed5fe39662436b83a3108aa6 (diff) | |
| download | azalea-drasl-9aaf893588eaecd62f6b146897cbce8a3a5058b5.tar.xz | |
improve ux for entity matching functions
Diffstat (limited to 'azalea/examples/testbot/commands')
| -rw-r--r-- | azalea/examples/testbot/commands/debug.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs index d80ee3be..91f7dc61 100644 --- a/azalea/examples/testbot/commands/debug.rs +++ b/azalea/examples/testbot/commands/debug.rs @@ -218,7 +218,7 @@ pub fn register(commands: &mut CommandDispatcher<Mutex<CommandSource>>) { let source = ctx.source.lock(); let player_entities = source .bot - .nearest_entities_by::<With<metadata::Player>, ()>(|_: &()| true); + .nearest_entities_by::<(), With<metadata::Player>>(|_: ()| true); let tab_list = source.bot.tab_list(); for player_entity in player_entities { let uuid = source.bot.entity_component::<EntityUuid>(player_entity); |
