fix: remove unused code
This commit is contained in:
parent
89125fde22
commit
14a0e85862
3 changed files with 2 additions and 4 deletions
|
@ -390,7 +390,6 @@ void ModFolderPage::on_actionInstall_mods_triggered()
|
|||
if(m_inst->typeName() != "Minecraft"){
|
||||
return; //this is a null instance or a legacy instance
|
||||
}
|
||||
QStringList modLoaders = {"net.minecraftforge", "net.fabricmc.fabric-loader", "org.quiltmc.quilt-loader"};
|
||||
auto profile = ((MinecraftInstance *)m_inst)->getPackProfile();
|
||||
if (profile->getModLoader() == ModAPI::Any) {
|
||||
QMessageBox::critical(this,tr("Error"),tr("Please install a mod loader first!"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue