Skip to content

Commit

Permalink
fix: Flipped if check
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 committed Feb 25, 2024
1 parent 438195d commit 2ba62da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
}
Expand Down

0 comments on commit 2ba62da

Please sign in to comment.