diff options
author | Petr Mrázek <peterix@gmail.com> | 2020-03-26 03:38:31 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2020-03-26 03:51:14 +0100 |
commit | ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0 (patch) | |
tree | 9411ecdb57ada0630b3c747c99e852837ff7f25e /api/logic | |
parent | 69490535d02008535759681bf118e575cdfec55a (diff) | |
download | MultiMC-ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0.tar MultiMC-ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0.tar.gz MultiMC-ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0.tar.lz MultiMC-ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0.tar.xz MultiMC-ebb17cb5f8b4b7771c28bb0286846aa52d29d6a0.zip |
NOISSUE no means no.0.6.9
Diffstat (limited to 'api/logic')
-rw-r--r-- | api/logic/minecraft/MojangVersionFormat.cpp | 4 |
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()) { |