From 2b604d38edc9c61ae7f9005fca22e825d81c95af Mon Sep 17 00:00:00 2001 From: Sychic <47618543+Sychic@users.noreply.github.com> Date: Fri, 28 Jun 2024 07:14:43 -0400 Subject: [PATCH] Build: Fix `FMLModType` being incorrectly set to `LIBRARY` As of ML9, it would have to be `GAMELIBRARY` for it to be able to reference minecraft classes, however since we require shading and relocation on ML9 anyway, we may as well just remove it outright. GitHub: #86 --- versions/build.gradle.kts | 3 --- 1 file changed, 3 deletions(-) diff --git a/versions/build.gradle.kts b/versions/build.gradle.kts index bfc8f10..5bf1ca4 100644 --- a/versions/build.gradle.kts +++ b/versions/build.gradle.kts @@ -74,9 +74,6 @@ tasks.jar { exclude("META-INF/mods.toml") exclude("mcmod.info") exclude("kotlin/**") - manifest { - attributes(mapOf("FMLModType" to "LIBRARY")) - } } tasks.named("sourcesJar") {