Make FTB instances behave better
* Do not re-create on every reload * Use the version.json/custom.json logic properly * Should be offline-friendly * FTB instances can be copied, turn into normal instances
This commit is contained in:
parent
82c87aa06f
commit
74b5b5f535
5 changed files with 214 additions and 131 deletions
|
@ -57,7 +57,10 @@ slots:
|
|||
emitFailed(tr("Couldn't load the version config"));
|
||||
return;
|
||||
}
|
||||
if (!forge.apply(instance->getFullVersion()))
|
||||
instance->revertCustomVersion();
|
||||
instance->customizeVersion();
|
||||
auto version = instance->getFullVersion();
|
||||
if (!forge.apply(version))
|
||||
{
|
||||
emitFailed(tr("Couldn't install Forge"));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue