Fix if statements

This commit is contained in:
Johannes Frohnmeyer 2022-08-21 21:04:24 +00:00
parent 1dfb5de378
commit 3faadbbf7a
1 changed files with 2 additions and 2 deletions

View File

@ -215,7 +215,7 @@ allprojects {
}
project.rootProject.allprojects.each { sub ->
if (!sub.name in rootProject.nonModSubprojects) {
if (!(sub.name in rootProject.nonModSubprojects)) {
loom.mods.register(sub.name, {
sourceSet sub.sourceSets.main
sourceSet sub.sourceSets.client
@ -313,7 +313,7 @@ subprojects {
clientImplementation project.sourceSets.client.output
testmodImplementation project.sourceSets.testmod.output
if (!project.name in rootProject.devOnlyModules) {
if (!(project.name in rootProject.devOnlyModules)) {
include project
}
}