Skip to content

Commit 01ef9b1

Browse files
committed
Fix betas not being ignored
1 parent 778a17f commit 01ef9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ForgeUpdateJsonCreator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ForgeUpdateJsonCreator {
2121
const latestMcVersions: Record<string, string> = {};
2222
const recommendedMcVersions: Record<string, string> = {};
2323
for (const file of dataCurseforge.files) {
24-
if (file.versions.includes(modLoader || 'Forge')) {
24+
if (file.type === 'release' && file.versions.includes(modLoader || 'Forge')) {
2525
// Determine MC and mod version
2626
const mcVersion: string = file.versions.find(version => version.includes('.'))!;
2727
const match = /-([^-]*)\.jar/u.exec(file.name);

0 commit comments

Comments
 (0)