rename VALID_RESOURCES static variable
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
@@ -1041,7 +1041,7 @@ void MainWindow::processURLs(QList<QUrl> urls)
|
|||||||
|
|
||||||
auto type = ResourceUtils::identify(localFileInfo);
|
auto type = ResourceUtils::identify(localFileInfo);
|
||||||
|
|
||||||
if (ModPlatform::ResourceTypeUtils::ValidResources.count(type) == 0) { // probably instance/modpack
|
if (ModPlatform::ResourceTypeUtils::VALID_RESOURCES.count(type) == 0) { // probably instance/modpack
|
||||||
addInstance(localFileName, extra_info);
|
addInstance(localFileName, extra_info);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user