diff --git a/build.gradle.kts b/build.gradle.kts index 59df33c..5bb3b0b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,6 @@ plugins { id("io.github.gaming32.gradle.preprocess-root") version "0.4.4" - id("xyz.wagyourtail.unimined") version "1.2.4" apply false + id("xyz.wagyourtail.unimined") version "1.2.9" apply false } repositories { diff --git a/version.gradle.kts b/version.gradle.kts index 7c57bae..6e3fbb9 100644 --- a/version.gradle.kts +++ b/version.gradle.kts @@ -113,9 +113,9 @@ unimined.minecraft { }) mixinConfig("world-host.mixins.json") } - isNeoForge -> neoForged { + isNeoForge -> neoForge { loader(when (mcVersion) { - 1_21_00 -> "0.4-beta" + 1_21_00 -> "4-beta" 1_20_06 -> "21-beta" 1_20_04 -> "69-beta" else -> throw IllegalStateException("Unknown NeoForge version for $mcVersionString")