Skip to content

Commit

Permalink
Fix gametest paths on NeoForge
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Dec 26, 2024
1 parent 73d8e0b commit e4c2eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ neoForge {

sourceSet = sourceSets.getByName("gametest")
systemProperty("neoforge.enabledGameTestNamespaces", "lithium-gametest")
environment("LITHIUM_GAMETEST_RESOURCES", file("../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure").path)
environment("LITHIUM_GAMETEST_RESOURCES", file(gameDirectory.get().asFile).resolve("../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure").path)
}
create("gametestServer") {
type = "gameTestServer"
gameDirectory.set(file("runs/gametestServer"))

sourceSet = sourceSets.getByName("gametest")
systemProperty("neoforge.enabledGameTestNamespaces", "lithium-gametest")
environment("LITHIUM_GAMETEST_RESOURCES", file("../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure").path)
environment("LITHIUM_GAMETEST_RESOURCES", file(gameDirectory.get().asFile).resolve("../../../common/src/gametest/resources/data/lithium-gametest/gametest/structure").path)
}
}

Expand Down

0 comments on commit e4c2eac

Please sign in to comment.