From 3b22b76278b963cc32ba1b8816990f4e1cafc655 Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Fri, 5 Jul 2024 14:55:10 +0700 Subject: [PATCH] [FIX] Cleanroom install --- .../java/pro/gravit/launchserver/helper/MakeProfileHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/helper/MakeProfileHelper.java b/LaunchServer/src/main/java/pro/gravit/launchserver/helper/MakeProfileHelper.java index 4423cc1b..cf09323a 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/helper/MakeProfileHelper.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/helper/MakeProfileHelper.java @@ -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"; }