From 02685f52b0a2ffcce07c1b9369d44db64ee9817d Mon Sep 17 00:00:00 2001 From: William Date: Thu, 3 Oct 2024 15:03:31 +0100 Subject: [PATCH] build: fix build, getEnv -> getProperty --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index ab30bb0a..da1b0642 100644 --- a/build.gradle +++ b/build.gradle @@ -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 '' }