Skip to content

Commit

Permalink
Close #3208: 隐藏版本更新界面的Fabric/Quilt API选项 (#3271)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly authored Sep 23, 2024
1 parent ea9999a commit f8d7c92
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ public void loadVersion(Profile profile, String versionId) {
// Conventional libraries: game, fabric, forge, neoforge, liteloader, optifine
for (InstallerItem item : group.getLibraries()) {
String libraryId = item.getLibraryId();

// Skip fabric-api and quilt-api
if (libraryId.contains("fabric-api") || libraryId.contains("quilt-api")) {
continue;
}

String libraryVersion = analyzer.getVersion(libraryId).orElse(null);

if (libraryVersion != null) {
Expand Down

0 comments on commit f8d7c92

Please sign in to comment.