diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-22 05:15:26 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-22 05:15:26 +0100 |
commit | 245d441a6eee558557a01d61a726b7feaeb5dc17 (patch) | |
tree | 01a81ad9a1c2bb1426a05773763c4d2ad7ef70b8 | |
parent | 74b5b5f535ec8d98ba93c629804c75fda9e32475 (diff) | |
download | MultiMC-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
-rw-r--r-- | logic/OneSixFTBInstance.cpp | 3 |
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) { |