From c502c8662346a34fbccca1cf71a4ef1deec9066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Sat, 23 Sep 2023 13:32:45 +0200 Subject: [PATCH] Require specific Minecraft version. Since MC version numbers don't really match semver for mods (next minor could be breaking the mod). --- fabric/src/main/resources/fabric.mod.json | 2 +- forge/src/main/resources/META-INF/mods.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index ceba1e29..7c9f046f 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -36,7 +36,7 @@ "fabric-api": ">=${fabricApiVersion}", "forgeconfigapiport": ">=${forgeConfigPortVersion}", "architectury": ">=${architecturyVersion}", - "minecraft": ">=${minecraftVersion}", + "minecraft": "${minecraftVersion}", "markdown_manual": ">=${manualVersion}", "java": ">=17" }, diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 65c1c9ce..80f14132 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -21,7 +21,7 @@ side = "BOTH" [[dependencies.tis3d]] modId = "minecraft" mandatory = true -versionRange = "[${minecraftVersion},)" +versionRange = "${minecraftVersion}" ordering = "NONE" side = "BOTH"