diff options
-rw-r--r-- | build.gradle.kts | 1 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/internal/plugin/LoadingPlugin.java | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index db12bea..6232699 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -237,7 +237,6 @@ tasks { "TweakOrder" to "0", "MixinConfigs" to "mixins.oneconfig.json", "TweakClass" to "org.spongepowered.asm.launch.MixinTweaker", - "FMLCorePlugin" to "cc.polyfrost.oneconfig.internal.plugin.LoadingPlugin", "FMLCorePluginContainsFMLMod" to "lol" ) ) diff --git a/gradle.properties b/gradle.properties index d4390fc..c7ef230 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ mod_name = OneConfig mod_id = oneconfig -mod_version = 0.1.0-alpha7 +mod_version = 0.1.0-alpha8 essential.defaults.loom=0 diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/plugin/LoadingPlugin.java b/src/main/java/cc/polyfrost/oneconfig/internal/plugin/LoadingPlugin.java index 7ab9d4c..cdd0d83 100644 --- a/src/main/java/cc/polyfrost/oneconfig/internal/plugin/LoadingPlugin.java +++ b/src/main/java/cc/polyfrost/oneconfig/internal/plugin/LoadingPlugin.java @@ -17,7 +17,6 @@ public class LoadingPlugin implements IFMLLoadingPlugin { * <a href="https://github.com/DJtheRedstoner/LWJGLTwoPointFive/blob/master/LICENSE/">https://github.com/DJtheRedstoner/LWJGLTwoPointFive/blob/master/LICENSE/</a> */ public LoadingPlugin() { - if (Launch.blackboard.containsKey("oneconfig.init.initialized")) return; try { Field f_exceptions = LaunchClassLoader.class.getDeclaredField("classLoaderExceptions"); f_exceptions.setAccessible(true); @@ -32,7 +31,6 @@ public class LoadingPlugin implements IFMLLoadingPlugin { @Override public String[] getASMTransformerClass() { - if (Launch.blackboard.containsKey("oneconfig.init.registered_transformer")) return new String[]{}; Launch.blackboard.put("oneconfig.init.registered_transformer", true); return new String[]{ClassTransformer.class.getName()}; } |