Update SaveProfilesCommand.java

This commit is contained in:
Gravit 2021-05-13 01:20:05 +07:00 committed by GitHub
parent 1667b00757
commit 92a6947ab8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ public static MakeProfileOption[] getMakeProfileOptionsFromDir(Path dir, ClientP
if(Files.exists(dir.resolve("liteloader.jar"))) { if(Files.exists(dir.resolve("liteloader.jar"))) {
options.add(MakeProfileOption.LITELOADER); options.add(MakeProfileOption.LITELOADER);
} }
if(version.compareTo(ClientProfile.Version.MC112) <= 0) { if(version.compareTo(ClientProfile.Version.MC1122) <= 0) {
options.add(MakeProfileOption.LAUNCHWRAPPER); options.add(MakeProfileOption.LAUNCHWRAPPER);
} }
return options.toArray(new MakeProfileOption[0]); return options.toArray(new MakeProfileOption[0]);