Skip to content

Commit

Permalink
Fix paper version not loading on versions before 1.20.5
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Sep 15, 2024
1 parent 8cde7f4 commit 407bbf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion implementations/paper/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) ) {
Expand Down Expand Up @@ -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
)
}
Expand Down

0 comments on commit 407bbf4

Please sign in to comment.