summaryrefslogtreecommitdiffstats
path: root/logic/OneSixFTBInstance.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-22 05:15:26 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-22 05:15:26 +0100
commit245d441a6eee558557a01d61a726b7feaeb5dc17 (patch)
tree01a81ad9a1c2bb1426a05773763c4d2ad7ef70b8 /logic/OneSixFTBInstance.cpp
parent74b5b5f535ec8d98ba93c629804c75fda9e32475 (diff)
downloadMultiMC-245d441a6eee558557a01d61a726b7feaeb5dc17.tar
MultiMC-245d441a6eee558557a01d61a726b7feaeb5dc17.tar.gz
MultiMC-245d441a6eee558557a01d61a726b7feaeb5dc17.tar.lz
MultiMC-245d441a6eee558557a01d61a726b7feaeb5dc17.tar.xz
MultiMC-245d441a6eee558557a01d61a726b7feaeb5dc17.zip
Fail if we fail to find the right forge version
Diffstat (limited to 'logic/OneSixFTBInstance.cpp')
-rw-r--r--logic/OneSixFTBInstance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/OneSixFTBInstance.cpp b/logic/OneSixFTBInstance.cpp
index 0090c1d8..924fc790 100644
--- a/logic/OneSixFTBInstance.cpp
+++ b/logic/OneSixFTBInstance.cpp
@@ -27,7 +27,10 @@ public:
}
}
if (!forgeVersion)
+ {
+ emitFailed(QString("Couldn't find forge version ") + version );
return;
+ }
entry = MMC->metacache()->resolveEntry("minecraftforge", forgeVersion->filename);
if (entry->stale)
{