summaryrefslogtreecommitdiffstats
path: root/logic/OneSixFTBInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/OneSixFTBInstance.cpp')
-rw-r--r--logic/OneSixFTBInstance.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/logic/OneSixFTBInstance.cpp b/logic/OneSixFTBInstance.cpp
index 567004b9..0090c1d8 100644
--- a/logic/OneSixFTBInstance.cpp
+++ b/logic/OneSixFTBInstance.cpp
@@ -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;