[FIX] Cleanroom install

This commit is contained in:
Gravita 2024-07-05 14:55:10 +07:00
parent ef9cbfe0da
commit 3b22b76278
No known key found for this signature in database
GPG key ID: 543A8F335C9CD633

View file

@ -196,6 +196,9 @@ public static String getMainClassByVersion(ClientProfile.Version version, MakePr
if(version.compareTo(ClientProfileVersions.MINECRAFT_1_7_10) == 0) {
return "com.gtnewhorizons.retrofuturabootstrap.Main";
}
if(version.compareTo(ClientProfileVersions.MINECRAFT_1_12_2) == 0) {
return "top.outlands.foundation.boot.Foundation"; // Cleanroom
}
if (findOption(options, MakeProfileOptionLaunchWrapper.class).isPresent()) {
return "net.minecraft.launchwrapper.Launch";
}