From e6941b6a24deed617d09c6e08ba65278bb3bcf25 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 18 Sep 2023 19:29:14 -0500 Subject: instanceloadedevent and a few fixes --- 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 eaa36832..c178a1d8 100644 --- a/azalea/examples/testbot.rs +++ b/azalea/examples/testbot.rs @@ -339,7 +339,7 @@ async fn swarm_handle( SwarmEvent::Chat(m) => { println!("swarm chat message: {}", m.message().to_ansi()); if m.message().to_string() == " world" { - for (name, world) in &swarm.instance_container.read().worlds { + for (name, world) in &swarm.instance_container.read().instances { println!("world name: {name}"); if let Some(w) = world.upgrade() { for chunk_pos in w.read().chunks.map.values() { -- cgit v1.2.3