aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/init/MixinPlugin.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/moe/nea/firmament/init/MixinPlugin.java')
-rw-r--r--src/main/java/moe/nea/firmament/init/MixinPlugin.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/moe/nea/firmament/init/MixinPlugin.java b/src/main/java/moe/nea/firmament/init/MixinPlugin.java
index ea8709b..e7a02b5 100644
--- a/src/main/java/moe/nea/firmament/init/MixinPlugin.java
+++ b/src/main/java/moe/nea/firmament/init/MixinPlugin.java
@@ -12,9 +12,12 @@ import java.util.Set;
public class MixinPlugin implements IMixinConfigPlugin {
+ AutoDiscoveryPlugin autoDiscoveryPlugin = new AutoDiscoveryPlugin();
+
@Override
public void onLoad(String mixinPackage) {
MixinExtrasBootstrap.init();
+ autoDiscoveryPlugin.setMixinPackage(mixinPackage);
}
@Override
@@ -37,7 +40,7 @@ public class MixinPlugin implements IMixinConfigPlugin {
@Override
public List<String> getMixins() {
- return null;
+ return autoDiscoveryPlugin.getMixins();
}
@Override