summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2020-03-26 03:38:31 +0100
committerPetr Mrázek <peterix@gmail.com>2020-03-26 03:51:14 +0100
commitebb17cb5f8b4b7771c28bb0286846aa52d29d6a0 (patch)
tree9411ecdb57ada0630b3c747c99e852837ff7f25e
parent69490535d02008535759681bf118e575cdfec55a (diff)
downloadMultiMC-0.6.9.tar
MultiMC-0.6.9.tar.gz
MultiMC-0.6.9.tar.lz
MultiMC-0.6.9.tar.xz
MultiMC-0.6.9.zip
NOISSUE no means no.0.6.9
-rw-r--r--api/logic/minecraft/MojangVersionFormat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/logic/minecraft/MojangVersionFormat.cpp b/api/logic/minecraft/MojangVersionFormat.cpp
index 33d3c54c..0f6cf6a6 100644
--- a/api/logic/minecraft/MojangVersionFormat.cpp
+++ b/api/logic/minecraft/MojangVersionFormat.cpp
@@ -130,6 +130,10 @@ void MojangVersionFormat::readVersionProperties(const QJsonObject &in, VersionFi
{
Bits::readString(in, "id", out->minecraftVersion);
Bits::readString(in, "mainClass", out->mainClass);
+ if(out->mainClass.contains("forgewrapper") || out->mainClass.contains("zekerzhayard")) {
+ out->mainClass.clear();
+ out->addProblem(ProblemSeverity::Error, QObject::tr("Forge workarounds have no place in MultiMC."));
+ }
Bits::readString(in, "minecraftArguments", out->minecraftArguments);
if(out->minecraftArguments.isEmpty())
{