9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-19 14:59:21 +00:00

build: fix build, getEnv -> getProperty

This commit is contained in:
William
2024-10-03 15:03:31 +01:00
parent 45c2f5350f
commit 480f59a166

View File

@@ -197,7 +197,7 @@ logger.lifecycle("Building HuskSync ${version} by William278 for Minecraft ${min
@SuppressWarnings('GrMethodMayBeStatic')
def versionMetadata() {
// If the force-hide-version-meta environment variable is set, return ''
if (System.getenv('force-hide-version-meta') != null) {
if (System.getProperty('force-hide-version-meta') != null) {
return ''
}