Skip to content

Commit 25d40a8

Browse files
committed
Add sha1 to LauncherManifest for version_manifest_v2.json
1 parent 8b0afe1 commit 25d40a8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

json-data-utils/src/main/java/net/minecraftforge/util/data/json/LauncherManifest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
import java.net.URL;
88

9+
import org.jetbrains.annotations.Nullable;
10+
911
/** Represents the launcher manifest for Minecraft versions. */
1012
public class LauncherManifest {
1113
/** All Minecraft version manifest infos. */
@@ -15,6 +17,9 @@ public class LauncherManifest {
1517
public static class VersionInfo {
1618
public String id;
1719
public URL url;
20+
/** Added in version_manifest_v2.json, so possibly null. */
21+
@Nullable
22+
public String sha1;
1823
}
1924

2025
/**

0 commit comments

Comments
 (0)