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:
@@ -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 ''
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user