From 52ad973dafeab1ae437847675e50d0eda570330a Mon Sep 17 00:00:00 2001 From: Meldexun <27779321+Meldexun@users.noreply.github.com> Date: Thu, 1 Aug 2024 11:12:14 +0200 Subject: [PATCH] Remove code that requires mixinbooter --- .../io/redstudioragnarok/fbp/asm/FBPPlugin.java | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/src/main/java/io/redstudioragnarok/fbp/asm/FBPPlugin.java b/src/main/java/io/redstudioragnarok/fbp/asm/FBPPlugin.java index 1b1f74c..53fcbf0 100644 --- a/src/main/java/io/redstudioragnarok/fbp/asm/FBPPlugin.java +++ b/src/main/java/io/redstudioragnarok/fbp/asm/FBPPlugin.java @@ -1,15 +1,12 @@ package io.redstudioragnarok.fbp.asm; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; -import zone.rong.mixinbooter.IEarlyMixinLoader; +import org.spongepowered.asm.mixin.Mixins; -import java.util.Arrays; -import java.util.Collections; -import java.util.List; import java.util.Map; @IFMLLoadingPlugin.TransformerExclusions("io.redstudioragnarok.fbp.asm") -public class FBPPlugin implements IFMLLoadingPlugin, IEarlyMixinLoader { +public class FBPPlugin implements IFMLLoadingPlugin { @Override public String[] getASMTransformerClass() { @@ -28,7 +25,7 @@ public String getSetupClass() { @Override public void injectData(Map data) { - + Mixins.addConfiguration("mixins.fbp.json"); } @Override @@ -36,9 +33,4 @@ public String getAccessTransformerClass() { return null; } - @Override - public List getMixinConfigs() { - return Collections.singletonList("mixins.fbp.json"); - } - }