mirror of
https://github.com/timvisee/lazymc.git
synced 2025-05-19 04:40:22 -07:00
Fix incorrect state after unfreezing process
This commit is contained in:
parent
835ca62c06
commit
aa1a74682e
@ -659,10 +659,10 @@ async fn unfreeze_server_signal(config: &Config, server: &Server) -> bool {
|
||||
}
|
||||
|
||||
server
|
||||
.update_state_from(Some(State::Stopped), State::Started, config)
|
||||
.update_state_from(Some(State::Stopping), State::Starting, config)
|
||||
.await;
|
||||
server
|
||||
.update_state_from(Some(State::Starting), State::Started, config)
|
||||
.update_state_from(Some(State::Stopped), State::Starting, config)
|
||||
.await;
|
||||
|
||||
true
|
||||
|
Loading…
x
Reference in New Issue
Block a user