We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42e2df1 commit ca4a4cfCopy full SHA for ca4a4cf
1 file changed
HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/Versions.java
@@ -265,7 +265,7 @@ public static void resetVersion(Profile profile, String id) {
265
LibraryAnalyzer analyzer = LibraryAnalyzer.analyze(repository.getResolvedPreservingPatchesVersion(id), null);
266
GameBuilder builder = profile.getDependency().gameBuilder().name(id).gameVersion(repository.getGameVersion(id).orElseThrow());
267
for (LibraryAnalyzer.LibraryType item : analyzer.getLibraries()) {
268
- if (item != LibraryAnalyzer.LibraryType.MINECRAFT) {
+ if (item != LibraryAnalyzer.LibraryType.MINECRAFT && item != LibraryAnalyzer.LibraryType.BOOTSTRAP_LAUNCHER) {
269
analyzer.getVersion(item).ifPresent(itemVersion ->
270
builder.version(item.getPatchId(), itemVersion));
271
}
0 commit comments