Fix FTB-related issues
This commit is contained in:
parent
a3c95d9bcc
commit
29b00eab31
8 changed files with 80 additions and 3 deletions
|
@ -320,6 +320,17 @@ bool OneSixInstance::versionIsCustom()
|
|||
|| QFile::exists(PathCombine(instanceRoot(), "user.json"));
|
||||
}
|
||||
|
||||
bool OneSixInstance::versionIsFTBPack()
|
||||
{
|
||||
I_D(const OneSixInstance);
|
||||
auto ver = d->version;
|
||||
if(ver)
|
||||
{
|
||||
return ver->hasFtbPack();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
QString OneSixInstance::currentVersionId() const
|
||||
{
|
||||
return intendedVersionId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue