From a7e1a2c1e29e2c3298afa62a1bde923ce44a7587 Mon Sep 17 00:00:00 2001 From: TechLord22 <37029404+TechLord22@users.noreply.github.com> Date: Thu, 30 Nov 2023 23:09:48 -0500 Subject: [PATCH] fix groovyscript hard dep (#2230) --- .../java/gregtech/integration/groovy/GroovyScriptModule.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/gregtech/integration/groovy/GroovyScriptModule.java b/src/main/java/gregtech/integration/groovy/GroovyScriptModule.java index 183372fde05..adb308fe4e6 100644 --- a/src/main/java/gregtech/integration/groovy/GroovyScriptModule.java +++ b/src/main/java/gregtech/integration/groovy/GroovyScriptModule.java @@ -25,6 +25,7 @@ import net.minecraft.item.crafting.IRecipe; import net.minecraft.util.ResourceLocation; import net.minecraftforge.event.RegistryEvent; +import net.minecraftforge.fml.common.Optional; import net.minecraftforge.fml.common.eventhandler.EventPriority; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; @@ -45,6 +46,9 @@ import java.util.Objects; import java.util.function.Supplier; +@Optional.Interface(modid = GTValues.MODID_GROOVYSCRIPT, + iface = "com.cleanroommc.groovyscript.api.GroovyPlugin", + striprefs = true) @GregTechModule( moduleID = GregTechModules.MODULE_GRS, containerID = GTValues.MODID,