Skip to content

Commit

Permalink
Build: Change FMLModType to GAMELIBRARY to allow for access to mi…
Browse files Browse the repository at this point in the history
…necraft classes

Closes #70
  • Loading branch information
Sychic committed Jun 10, 2024
1 parent d949923 commit 7e7ddac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ dependencies {

tasks.jar {
manifest {
attributes(mapOf("FMLModType" to "LIBRARY"))
if (platform.isModLauncher) {
attributes(mapOf("FMLModType" to "GAMELIBRARY"))
}
}
}

0 comments on commit 7e7ddac

Please sign in to comment.