Skip to content

Commit

Permalink
Fix use of fabricmc lib where it shouldn't have been used. (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte authored Dec 4, 2024
1 parent 8b1f4a5 commit 6bfe910
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package net.neoforged.neoform.runtime.manifests;

import com.google.gson.annotations.SerializedName;
import net.fabricmc.loom.nativeplatform.OperatingSystem;
import net.neoforged.neoform.runtime.utils.MavenCoordinate;
import net.neoforged.neoform.runtime.utils.OsType;
import org.jetbrains.annotations.Nullable;
Expand Down Expand Up @@ -46,7 +45,7 @@ public MinecraftDownload getArtifactDownload() {
var download = downloads.classifiers.get(classifier);
if (download == null) {
throw new IllegalStateException("Download for " + artifactId + " references classifier " + classifier
+ " for natives for OS " + OperatingSystem.CURRENT + " but it doesn't exist.");
+ " for natives for OS " + OsType.current() + " but it doesn't exist.");
}
return download;
}
Expand Down

0 comments on commit 6bfe910

Please sign in to comment.