Skip to content

Commit

Permalink
Remove code that requires mixinbooter
Browse files Browse the repository at this point in the history
  • Loading branch information
Meldexun committed Aug 1, 2024
1 parent f984b26 commit 52ad973
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/main/java/io/redstudioragnarok/fbp/asm/FBPPlugin.java
Original file line number Diff line number Diff line change
@@ -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() {
Expand All @@ -28,17 +25,12 @@ public String getSetupClass() {

@Override
public void injectData(Map<String, Object> data) {

Mixins.addConfiguration("mixins.fbp.json");
}

@Override
public String getAccessTransformerClass() {
return null;
}

@Override
public List<String> getMixinConfigs() {
return Collections.singletonList("mixins.fbp.json");
}

}

0 comments on commit 52ad973

Please sign in to comment.