diff --git a/patches/server/0001-new-fork-who-dis-Rebrand-to-SparklyPaper-and-Build-C.patch b/patches/server/0001-new-fork-who-dis-Rebrand-to-SparklyPaper-and-Build-C.patch index 6504ca8..5fb6dfe 100644 --- a/patches/server/0001-new-fork-who-dis-Rebrand-to-SparklyPaper-and-Build-C.patch +++ b/patches/server/0001-new-fork-who-dis-Rebrand-to-SparklyPaper-and-Build-C.patch @@ -42,8 +42,8 @@ index 79beac737c17412913983614bd478d33e3c6ed58..5812c7056d11be2cc966728de6b07cd9 - val implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\"" + // SparklyPaper start + var implementationVersion = System.getenv("BUILD_NUMBER") ?: "\"$gitHash\"" -+ if (hasProperty("sparklypaperImplementationVersionSuffix")) { -+ implementationVersion += "/${property("sparklypaperImplementationVersionSuffix")}" ++ if (project.hasProperty("sparklypaperImplementationVersionSuffix")) { ++ implementationVersion += "/${project.property("sparklypaperImplementationVersionSuffix")}" + } + // SparklyPaper end val date = git("show", "-s", "--format=%ci", gitHash).getText().trim() // Paper