diff options
| author | mat <git@matdoes.dev> | 2023-09-18 19:29:14 -0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-09-18 19:29:14 -0500 |
| commit | e6941b6a24deed617d09c6e08ba65278bb3bcf25 (patch) | |
| tree | a647ca131cd87d7d6cdb463dd50f497f4320656b /azalea/examples | |
| parent | 856a3252f693421df519cbc4d9bc03cfc0f0c212 (diff) | |
| download | azalea-drasl-e6941b6a24deed617d09c6e08ba65278bb3bcf25.tar.xz | |
instanceloadedevent and a few fixes
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() { |
