diff options
| author | mat <27899617+mat-1@users.noreply.github.com> | 2026-01-13 10:51:30 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-13 10:51:30 -0600 |
| commit | d5fa5e32b37754b3b5c136e58821e48cd3b7c2ff (patch) | |
| tree | ea04702f96ad170fb1d90e5ed2dc875ae8166495 /azalea/src/swarm/mod.rs | |
| parent | efb36d5fc0fe56a98f5795c53dfa109887cd5aae (diff) | |
| download | azalea-drasl-d5fa5e32b37754b3b5c136e58821e48cd3b7c2ff.tar.xz | |
Rename Instance to World (#304)
Diffstat (limited to 'azalea/src/swarm/mod.rs')
| -rw-r--r-- | azalea/src/swarm/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea/src/swarm/mod.rs b/azalea/src/swarm/mod.rs index b1061346..4ecb0726 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -15,7 +15,7 @@ use std::sync::{ use azalea_client::{account::Account, chat::ChatPacket, join::ConnectOpts}; use azalea_entity::LocalEntity; use azalea_protocol::address::ResolvedAddr; -use azalea_world::InstanceContainer; +use azalea_world::Worlds; use bevy_app::{PluginGroup, PluginGroupBuilder}; use bevy_ecs::prelude::*; pub use builder::SwarmBuilder; @@ -47,7 +47,7 @@ pub struct Swarm { // the address is public and mutable so plugins can change it pub address: Arc<RwLock<ResolvedAddr>>, - pub instance_container: Arc<RwLock<InstanceContainer>>, + pub worlds: Arc<RwLock<Worlds>>, /// This is used internally to make the client handler function work. pub(crate) bots_tx: mpsc::UnboundedSender<(Option<crate::Event>, Client)>, |
