Skip to content

Commit

Permalink
Update InstallerListPage.java (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly authored Nov 15, 2024
1 parent 3378a66 commit 6411a1d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ public void loadVersion(Profile profile, String versionId) {
// Conventional libraries: game, fabric, quilt, forge, neoforge, liteloader, optifine
for (InstallerItem installerItem : group.getLibraries()) {
String libraryId = installerItem.getLibraryId();

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

String libraryVersion = analyzer.getVersion(libraryId).orElse(null);
installerItem.libraryVersion.set(libraryVersion);
installerItem.upgradable.set(libraryVersion != null);
Expand Down

0 comments on commit 6411a1d

Please sign in to comment.