summaryrefslogtreecommitdiffstats
path: root/logic/lists
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-02-09 19:10:56 +0100
committerPetr Mrázek <peterix@gmail.com>2014-02-09 19:10:56 +0100
commit0d30a2655ffb767488d50a4a79978b3d9ddb3aa9 (patch)
treecbd1897f98838d3658a8a0630534bd6ef9b4c51c /logic/lists
parent902204236031dedffc6047802524c93dcc14fa45 (diff)
downloadMultiMC-0d30a2655ffb767488d50a4a79978b3d9ddb3aa9.tar
MultiMC-0d30a2655ffb767488d50a4a79978b3d9ddb3aa9.tar.gz
MultiMC-0d30a2655ffb767488d50a4a79978b3d9ddb3aa9.tar.lz
MultiMC-0d30a2655ffb767488d50a4a79978b3d9ddb3aa9.tar.xz
MultiMC-0d30a2655ffb767488d50a4a79978b3d9ddb3aa9.zip
Blacklist the FTB voxel pack.
Diffstat (limited to 'logic/lists')
-rw-r--r--logic/lists/InstanceList.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/lists/InstanceList.cpp b/logic/lists/InstanceList.cpp
index 9a61e2dd..cd59e6d6 100644
--- a/logic/lists/InstanceList.cpp
+++ b/logic/lists/InstanceList.cpp
@@ -336,6 +336,8 @@ QList<FTBRecord> InstanceList::discoverFTBInstances()
if (!test.exists())
continue;
record.name = attrs.value("name").toString();
+ if(record.name.contains("voxel", Qt::CaseInsensitive))
+ continue;
record.logo = attrs.value("logo").toString();
record.mcVersion = attrs.value("mcVersion").toString();
record.description = attrs.value("description").toString();