Skip to content

Commit

Permalink
NOISSUE no means no.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterix committed Mar 26, 2020
1 parent 6949053 commit ebb17cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/logic/minecraft/MojangVersionFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit ebb17cb

Please sign in to comment.