feat: 1.20 support and allow versions without patch number

This commit is contained in:
GeekCornerGH
2023-06-09 15:00:01 +02:00
committed by Daniel Scalzi
parent 340df4f2d0
commit 3ec535de53
5 changed files with 11 additions and 12 deletions

View File

@@ -13,7 +13,7 @@ export class ForgeModStructure113 extends BaseForgeModStructure {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
public static isForVersion(version: MinecraftVersion, libraryVersion: string): boolean {
return VersionUtil.isVersionAcceptable(version, [13, 14, 15, 16, 17, 18, 19])
return VersionUtil.isVersionAcceptable(version, [13, 14, 15, 16, 17, 18, 19, 20])
}
private forgeModMetadata: {[property: string]: ModsToml | undefined} = {}