From d0c8b1f7c7792f5f00d5870d9f980d0101007592 Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 18 Jun 2022 00:12:38 +0700 Subject: migrate to tweaker --- build.gradle.kts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index 8f0aa55..fdcca6b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -45,7 +45,7 @@ loom { noServerRunConfigs() if (project.platform.isLegacyForge) { launchConfigs.named("client") { - property("fml.coreMods.load", "cc.polyfrost.oneconfig.internal.plugin.LoadingPlugin") + arg("--tweakClass", "cc.polyfrost.oneconfig.internal.plugin.OneConfigTweaker") property("mixin.debug.export", "true") property("debugBytecode", "true") } @@ -238,9 +238,7 @@ tasks { "ForceLoadAsMod" to true, "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" + "TweakClass" to "cc.polyfrost.oneconfig.internal.plugin.OneConfigTweaker" ) ) } -- cgit