From 9aaf893588eaecd62f6b146897cbce8a3a5058b5 Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 12 Oct 2025 22:10:02 -0300 Subject: improve ux for entity matching functions --- azalea/examples/testbot/commands/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/examples/testbot/commands/debug.rs') 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>) { let source = ctx.source.lock(); let player_entities = source .bot - .nearest_entities_by::, ()>(|_: &()| true); + .nearest_entities_by::<(), With>(|_: ()| true); let tab_list = source.bot.tab_list(); for player_entity in player_entities { let uuid = source.bot.entity_component::(player_entity); -- cgit v1.2.3