diff options
Diffstat (limited to 'azalea/examples')
| -rw-r--r-- | azalea/examples/testbot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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() == "<py5> 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() { |
