diff --git a/build.gradle b/build.gradle index 2757985..6efffe4 100644 --- a/build.gradle +++ b/build.gradle @@ -190,7 +190,9 @@ subprojects { subproject -> setDisableEmptyJarCheck(true) // Disable check for valid mod metadata entry in artifact, which could possibly mean that the jar is empty. setModrinthID(mod_id_kebab) setCurseID(curseforge_id) - setLoaders(noPublish ? [] : loader) + if (!noPublish) { + setLoaders(loader) + } setGameVersions(minecraft_version) setDisplayName("[${loader} - ${minecraft_version}] ${mod_title} v${mod_version}") setJavaVersions([JavaVersion.VERSION_17])