mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 23:44:38 +00:00
fix ClientBuilder erroring, maybe
This commit is contained in:
parent
4355e7f74b
commit
cc976c6873
1 changed files with 3 additions and 0 deletions
|
@ -182,6 +182,9 @@ where
|
||||||
address: impl TryInto<ServerAddress>,
|
address: impl TryInto<ServerAddress>,
|
||||||
) -> Result<(), StartError> {
|
) -> Result<(), StartError> {
|
||||||
self.swarm.accounts = vec![account];
|
self.swarm.accounts = vec![account];
|
||||||
|
if self.swarm.states.is_empty() {
|
||||||
|
self.swarm.states = vec![S::default()];
|
||||||
|
}
|
||||||
self.swarm.start(address).await
|
self.swarm.start(address).await
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue