From 92a6947ab8ceb7a0e6012b3e47cda39d218b177d Mon Sep 17 00:00:00 2001 From: Gravit Date: Thu, 13 May 2021 01:20:05 +0700 Subject: [PATCH] Update SaveProfilesCommand.java --- .../gravit/launchserver/command/hash/SaveProfilesCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/command/hash/SaveProfilesCommand.java b/LaunchServer/src/main/java/pro/gravit/launchserver/command/hash/SaveProfilesCommand.java index f77d2744..35de20ba 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/command/hash/SaveProfilesCommand.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/command/hash/SaveProfilesCommand.java @@ -112,7 +112,7 @@ public static MakeProfileOption[] getMakeProfileOptionsFromDir(Path dir, ClientP if(Files.exists(dir.resolve("liteloader.jar"))) { options.add(MakeProfileOption.LITELOADER); } - if(version.compareTo(ClientProfile.Version.MC112) <= 0) { + if(version.compareTo(ClientProfile.Version.MC1122) <= 0) { options.add(MakeProfileOption.LAUNCHWRAPPER); } return options.toArray(new MakeProfileOption[0]);