Skip to content

Commit

Permalink
fix: turned off the packfile generation for gametests other than forge
Browse files Browse the repository at this point in the history
  • Loading branch information
meza committed Feb 5, 2025
1 parent ca620fa commit bd9f19a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/main/kotlin/gg/meza/stonecraft/configurations/Loom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,13 @@ fun configureServerGameTests(
}
}

project.tasks.named("runGameTestServer") {
dependsOn("generatePackMCMetaJson")
}
project.tasks.named("runGameTestClient") {
dependsOn("generatePackMCMetaJson")
if (mod.isForge) {
project.tasks.named("runGameTestServer") {
dependsOn("generatePackMCMetaJson")
}
project.tasks.named("runGameTestClient") {
dependsOn("generatePackMCMetaJson")
}
}
} else {
project.tasks.register("runGameTestServer") {
Expand Down

0 comments on commit bd9f19a

Please sign in to comment.