From 6bbbbd0f72c1086cd25e14e5503613d252e945e4 Mon Sep 17 00:00:00 2001 From: jss2a98aj Date: Sat, 4 Mar 2023 13:16:16 -0500 Subject: [PATCH] Fix TC dep loader replacement sometimes failing --- gradle.properties | 4 ++-- .../java/thaumcraft/codechicken/core/launch/DepLoader.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 23e7a62..f1ee618 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ modName = Baubles Expanded # This is a case-sensitive string to identify your mod. Convention is to use lower case. modId = BaublesExpanded -modGroup = baubles +modGroup = # WHY is there no version field? # The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the @@ -71,7 +71,7 @@ mixinsPackage = # Specify the core mod entry class if you use a core mod. This class must implement IFMLLoadingPlugin! # This parameter is for legacy compatibility only # Example value: coreModClass = asm.FMLPlugin + modGroup = com.myname.mymodid -> com.myname.mymodid.asm.FMLPlugin -coreModClass = +coreModClass = thaumcraft.codechicken.core.launch.DepLoader # If your project is only a consolidation of mixins or a core mod and does NOT contain a 'normal' mod ( = some class # that is annotated with @Mod) you want this to be true. When in doubt: leave it on false! containsMixinsAndOrCoreModOnly = false diff --git a/src/main/java/thaumcraft/codechicken/core/launch/DepLoader.java b/src/main/java/thaumcraft/codechicken/core/launch/DepLoader.java index 2d7e427..92c07ac 100644 --- a/src/main/java/thaumcraft/codechicken/core/launch/DepLoader.java +++ b/src/main/java/thaumcraft/codechicken/core/launch/DepLoader.java @@ -4,6 +4,8 @@ import cpw.mods.fml.relauncher.IFMLCallHook; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import java.util.Map; +@IFMLLoadingPlugin.SortingIndex(-100) +@IFMLLoadingPlugin.MCVersion("1.7.10") public class DepLoader implements IFMLLoadingPlugin, IFMLCallHook { @Override