diff options
| author | mat <git@matdoes.dev> | 2023-12-01 23:18:25 -0600 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2023-12-01 23:18:25 -0600 |
| commit | 2b9b16d28f9825e4e6fe7ea23568dd875471b496 (patch) | |
| tree | 4c000ffe2ae5cc485c7f014edffb2b5488dec84c | |
| parent | 3eb9998c989cbf9305f4584af94daae72780fea7 (diff) | |
| download | azalea-drasl-2b9b16d28f9825e4e6fe7ea23568dd875471b496.tar.xz | |
make address and resolved_address pub in Swarm
| -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 e8b47de6..2dfdc480 100644 --- a/azalea/src/swarm/mod.rs +++ b/azalea/src/swarm/mod.rs @@ -38,8 +38,8 @@ pub struct Swarm { bots: Arc<Mutex<HashMap<Entity, Client>>>, // bot_datas: Arc<Mutex<Vec<(Client, S)>>>, - resolved_address: SocketAddr, - address: ServerAddress, + pub resolved_address: SocketAddr, + pub address: ServerAddress, pub instance_container: Arc<RwLock<InstanceContainer>>, bots_tx: mpsc::UnboundedSender<(Option<Event>, Client)>, |
