diff --git a/build.gradle b/build.gradle index e676721..d6b053b 100644 --- a/build.gradle +++ b/build.gradle @@ -128,7 +128,7 @@ curseforge { releaseType = "release" changelog = System.getenv("CHANGELOG") changelogType = "markdown" - addGameVersion ((String) project.minecraft_version.split("-")[0]) + addGameVersion((project.minecraft_version.contains("-") ? ((String) project.minecraft_version.split("-")[0] + "-Snapshot") : project.minecraft_version)) addGameVersion "Fabric" addGameVersion "Quilt" mainArtifact(remapJar)