Skip to content

Commit 1d8ea75

Browse files
committed
update
1 parent c97ad1d commit 1d8ea75

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

HMCLCore/src/main/java/org/jackhuang/hmcl/download/ornithe/OrnitheOSLRemoteVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class OrnitheOSLRemoteVersion extends RemoteVersion {
3939
* @param urls the installer or universal jar original URL.
4040
*/
4141
OrnitheOSLRemoteVersion(String gameVersion, String selfVersion, String fullVersion, Instant datePublished, RemoteMod.Version version, List<String> urls) {
42-
super(LibraryAnalyzer.LibraryType.FABRIC_API.getPatchId(), gameVersion, selfVersion, datePublished, urls);
42+
super(LibraryAnalyzer.LibraryType.ORNITHE_OSL.getPatchId(), gameVersion, selfVersion, datePublished, urls);
4343

4444
this.fullVersion = fullVersion;
4545
this.version = version;

HMCLCore/src/main/java/org/jackhuang/hmcl/mod/mcbbs/McbbsModpackExportTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public void execute() throws Exception {
9696
List<McbbsModpackManifest.Addon> addons = new ArrayList<>();
9797
addons.add(new McbbsModpackManifest.Addon(MINECRAFT.getPatchId(), gameVersion));
9898
for (LibraryAnalyzer.LibraryType type : analyzer.getLibraries()) {
99-
if (type.isModLoader() && !(type == OPTIFINE)) continue;
99+
if (type == OPTIFINE || type == BOOTSTRAP_LAUNCHER) continue;
100100
if (type == MINECRAFT) addons.add(new McbbsModpackManifest.Addon(MINECRAFT.getPatchId(), gameVersion));
101101
else addons.add(new McbbsModpackManifest.Addon(type.getPatchId(), analyzer.getVersion(type).orElseThrow()));
102102
}

0 commit comments

Comments
 (0)