From 407bbf4018bb3b19cd6ce06d1ee4b9ac707faa19 Mon Sep 17 00:00:00 2001 From: "Lukas Rieger (Blue)" Date: Sun, 15 Sep 2024 16:55:10 +0200 Subject: [PATCH] Fix paper version not loading on versions before 1.20.5 --- implementations/paper/build.gradle.kts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/implementations/paper/build.gradle.kts b/implementations/paper/build.gradle.kts index 04bcfd3d..305b5cbb 100644 --- a/implementations/paper/build.gradle.kts +++ b/implementations/paper/build.gradle.kts @@ -11,6 +11,7 @@ val supportedMinecraftVersions = listOf( val minecraftVersion = supportedMinecraftVersions.first() val paperVersion = "${minecraftVersion}-R0.1-SNAPSHOT" +val apiVersion = "1.20" // paper-version but without minor dependencies { api ( project( ":common" ) ) { @@ -65,7 +66,7 @@ tasks.processResources { expand ( "version" to project.version, - "api_version" to minecraftVersion, + "api_version" to apiVersion, "flow_math_version" to libs.flow.math.get().version ) }