From 91c492f7179ba9fe81ad1e2044ed07b04e3f58e0 Mon Sep 17 00:00:00 2001 From: Sychic <47618543+Sychic@users.noreply.github.com> Date: Fri, 28 Jun 2024 07:13:45 -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: #145 --- versions/build.gradle.kts | 3 --- 1 file changed, 3 deletions(-) diff --git a/versions/build.gradle.kts b/versions/build.gradle.kts index a6f5ee04..9fce3d75 100644 --- a/versions/build.gradle.kts +++ b/versions/build.gradle.kts @@ -83,9 +83,6 @@ tasks.jar { exclude("META-INF/mods.toml") exclude("mcmod.info") exclude("kotlin/**") - manifest { - attributes(mapOf("FMLModType" to "LIBRARY")) - } } tasks.named("sourcesJar") {