From 2ba62da8ba134c385ce522be459c231fc20b83fd Mon Sep 17 00:00:00 2001 From: ziro Date: Sun, 25 Feb 2024 20:04:49 +0700 Subject: [PATCH] fix: Flipped if check --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 6b56467..d5b91c0 100644 --- a/build.gradle +++ b/build.gradle @@ -338,7 +338,7 @@ publishMods { accessToken = cfToken projectId = project.curseforge_project - if (cfSnapshots != null) { + if (cfSnapshots == null) { for (final def mcVer in mcReleaseVersions) { minecraftVersions.add(mcVer) } @@ -360,7 +360,7 @@ publishMods { accessToken = mrToken projectId = project.modrinth_project - if (mrSnapshots != null) { + if (mrSnapshots == null) { for (final def mcVer in mcReleaseVersions) { minecraftVersions.add(mcVer) }