mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 02:46:59 +03:00
Don't assume forge for FTB instances. Fix FTB related stuff.
This commit is contained in:
parent
43881b9cdb
commit
f54705e1c5
11 changed files with 206 additions and 140 deletions
|
|
@ -75,6 +75,7 @@ InstanceFactory::InstLoadError InstanceFactory::loadInstance(BaseInstance *&inst
|
|||
{
|
||||
return InstanceFactory::UnknownLoadError;
|
||||
}
|
||||
inst->init();
|
||||
return NoLoadError;
|
||||
}
|
||||
|
||||
|
|
@ -156,6 +157,8 @@ InstanceFactory::InstCreateError InstanceFactory::createInstance(BaseInstance *&
|
|||
return InstanceFactory::NoSuchVersion;
|
||||
}
|
||||
|
||||
inst->init();
|
||||
|
||||
// FIXME: really, how do you even know?
|
||||
return InstanceFactory::NoCreateError;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue