Copying of FTB instances working again

This commit is contained in:
Jan Dalheimer
2014-02-21 19:15:59 +01:00
parent f54705e1c5
commit 4883d15262
9 changed files with 92 additions and 5 deletions

View File

@@ -184,6 +184,8 @@ InstanceFactory::InstCreateError InstanceFactory::copyInstance(BaseInstance *&ne
if(inst_type == "LegacyFTB")
m_settings->set("InstanceType", "Legacy");
oldInstance->copy(instDir);
auto error = loadInstance(newInstance, instDir);
switch (error)