From 68f01625cc151e57c3639c430da5d47cccf5e39f Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 1 Aug 2023 02:38:49 -0500 Subject: improve Instance::find_block --- azalea/examples/testbot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot.rs b/azalea/examples/testbot.rs index 6fb50964..e2f1c436 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -306,7 +306,7 @@ async fn swarm_handle( for (name, world) in &swarm.instance_container.read().worlds { println!("world name: {name}"); if let Some(w) = world.upgrade() { - for chunk_pos in w.read().chunks.chunks.values() { + for chunk_pos in w.read().chunks.map.values() { println!("chunk: {chunk_pos:?}"); } } else { -- cgit v1.2.3