NOISSUE no means no.

This commit is contained in:
Petr Mrázek 2020-03-26 03:38:31 +01:00
parent 69490535d0
commit ebb17cb5f8

View File

@ -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())
{