NOISSUE no means no.
This commit is contained in:
parent
69490535d0
commit
ebb17cb5f8
@ -130,6 +130,10 @@ void MojangVersionFormat::readVersionProperties(const QJsonObject &in, VersionFi
|
|||||||
{
|
{
|
||||||
Bits::readString(in, "id", out->minecraftVersion);
|
Bits::readString(in, "id", out->minecraftVersion);
|
||||||
Bits::readString(in, "mainClass", out->mainClass);
|
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);
|
Bits::readString(in, "minecraftArguments", out->minecraftArguments);
|
||||||
if(out->minecraftArguments.isEmpty())
|
if(out->minecraftArguments.isEmpty())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user