diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-11 18:21:31 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-11 18:21:31 +0200 |
commit | 7f28a19a6e11ab7cddeb51caffa76b1ad71cfeae (patch) | |
tree | 95b36e8046b4c0b5a95f84b639fd156342ee20c3 | |
parent | 07e458108b148622d35b5f419be495b0610ddbd8 (diff) | |
download | OneConfig-7f28a19a6e11ab7cddeb51caffa76b1ad71cfeae.tar.gz OneConfig-7f28a19a6e11ab7cddeb51caffa76b1ad71cfeae.tar.bz2 OneConfig-7f28a19a6e11ab7cddeb51caffa76b1ad71cfeae.zip |
fix things
-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()}; } |