Skip to content

Commit 56604e4

Browse files
Merge pull request #15 from LostLuma/fix/minecraft-snapshot-dependency-generation
Fix mod json dependency specifier generation for snapshots
2 parents f674f00 + a6ff8f3 commit 56604e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/minecraft_semver.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function normalizeVersion(name, release) {
186186
}
187187
}
188188
} else if ((matches = name.match(SNAPSHOT_PATTERN)) != null) {
189-
name = "alpha." + matches[1] + matches[2] + matches[3];
189+
name = "alpha." + matches[1] + "." + matches[2] + "." + matches[3];
190190
} else {
191191
// Try short-circuiting special versions which are complete on their own
192192
let ret = normalizeSpecialVersion(name);

0 commit comments

Comments
 (0)