fix(settings): keep editor updates consistent
This commit is contained in:
1 parent
ccc09419fb
commit
31edc0dbf8
13 files changed
+743
-248
No files matched your search
@@ -55,9 +55,7 @@ pub async fn prepare(
|
||||
instance: &InstanceConfig,
|
||||
target: VersionInfo,
|
||||
) -> Result<RefreshPlan, String> {
|
||||
if crate::instance::runtime::get(&instance.name)
|
||||
.is_some_and(|state| !matches!(state, crate::instance::runtime::RunState::Crashed(_)))
|
||||
{
|
||||
if crate::instance::runtime::is_active(&instance.name) {
|
||||
return Err("Stop the instance before changing its modpack".to_owned());
|
||||
}
|
||||
let source = instance
|
||||
|
||||
Reference in new issue
Block a user