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

Related: EssentialGG/UniversalCraft#73
  • Loading branch information
Sychic committed Jun 10, 2024
1 parent df7d7cd commit cfffaf7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion versions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ tasks.jar {
exclude("mcmod.info")
exclude("kotlin/**")
manifest {
attributes(mapOf("FMLModType" to "LIBRARY"))
if (platform.isModLauncher) {
attributes(mapOf("FMLModType" to "GAMELIBRARY"))
}
}
}

Expand Down

0 comments on commit cfffaf7

Please sign in to comment.