From 7e7ddac5bf8063b12846e90bd623ecd9aa590a5a Mon Sep 17 00:00:00 2001 From: sychic <47618543+Sychic@users.noreply.github.com> Date: Mon, 10 Jun 2024 10:15:14 -0700 Subject: [PATCH] Build: Change `FMLModType` to `GAMELIBRARY` to allow for access to minecraft classes Closes #70 --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 26ca749..1b6c886 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,6 +19,8 @@ dependencies { tasks.jar { manifest { - attributes(mapOf("FMLModType" to "LIBRARY")) + if (platform.isModLauncher) { + attributes(mapOf("FMLModType" to "GAMELIBRARY")) + } } }