Recover from the bin folder of converted legacy instance being deleted.
Use the new vanilla jar as the base jar if mcbackup.jar is missing.
This commit is contained in:
parent
b097d2f744
commit
e611aef0e7
@ -361,7 +361,10 @@ void LegacyUpdate::ModTheJar()
|
||||
setStatus("Installing mods - backing up minecraft.jar...");
|
||||
if (!baseJar.exists() && !QFile::copy(runnableJar.filePath(), baseJar.filePath()))
|
||||
{
|
||||
emitFailed("Failed to back up minecraft.jar");
|
||||
emitFailed("It seems both the active and base jar are gone. A fresh base jar will be used on next run.");
|
||||
inst->setShouldRebuild(true);
|
||||
inst->setShouldUpdate(true);
|
||||
inst->setShouldUseCustomBaseJar(false);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user