From 67752ec81876512e63d381033240bc037af93e2d Mon Sep 17 00:00:00 2001 From: inyourwalls Date: Mon, 19 Feb 2024 20:31:37 -0500 Subject: restrict loading to 1.20.1 --- build.gradle.kts | 4 ++-- src/main/resources/fabric.mod.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index bc46aa2..b81266d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -3,7 +3,8 @@ plugins { id("fabric-loom") version "1.5-SNAPSHOT" } -version = "1.0.0" +val minecraftVersion = "1.20.1" +version = "1.0.0+$minecraftVersion" group = "net.inyourwalls" repositories { @@ -11,7 +12,6 @@ repositories { } dependencies { - val minecraftVersion = "1.20.1" val yarnBuild = "10" val fabricLoaderVersion = "0.14.22" diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 64444f6..e8a36f6 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -27,6 +27,6 @@ "depends": { "fabricloader": ">=0.14.22", "java": ">=17", - "minecraft": "~1.20.1" + "minecraft": "1.20.1" } } -- cgit v1.3.1