Allow data packs on vanilla instances
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
b54dd051fb
commit
af0176b12a
1 changed files with 0 additions and 4 deletions
|
@ -68,10 +68,6 @@ void DataPackPage::downloadDataPacks()
|
||||||
return; // this is a null instance or a legacy instance
|
return; // this is a null instance or a legacy instance
|
||||||
|
|
||||||
auto profile = static_cast<MinecraftInstance*>(m_instance)->getPackProfile();
|
auto profile = static_cast<MinecraftInstance*>(m_instance)->getPackProfile();
|
||||||
if (!profile->getModLoaders().has_value()) {
|
|
||||||
QMessageBox::critical(this, tr("Error"), tr("Please install a mod loader first!"));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
m_downloadDialog = new ResourceDownload::DataPackDownloadDialog(this, m_model, m_instance);
|
m_downloadDialog = new ResourceDownload::DataPackDownloadDialog(this, m_model, m_instance);
|
||||||
connect(this, &QObject::destroyed, m_downloadDialog, &QDialog::close);
|
connect(this, &QObject::destroyed, m_downloadDialog, &QDialog::close);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue