aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/plugin
diff options
context:
space:
mode:
authorWyvest <45589059+Wyvest@users.noreply.github.com>2022-05-27 23:39:11 +0700
committerWyvest <45589059+Wyvest@users.noreply.github.com>2022-05-27 23:39:11 +0700
commitf1509146f504707dfab3e9abac36038f94040b64 (patch)
treec1bc7b68627aa43692ba732a75841ef545afa61f /src/main/java/cc/polyfrost/oneconfig/plugin
parent358d5ca1a93b07003c5f45c30364de27a7fc101d (diff)
downloadOneConfig-f1509146f504707dfab3e9abac36038f94040b64.tar.gz
OneConfig-f1509146f504707dfab3e9abac36038f94040b64.tar.bz2
OneConfig-f1509146f504707dfab3e9abac36038f94040b64.zip
universal events
add mixinextras and keventbus
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/plugin')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/plugin/OneConfigMixinPlugin.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/plugin/OneConfigMixinPlugin.java b/src/main/java/cc/polyfrost/oneconfig/plugin/OneConfigMixinPlugin.java
index 951e942..f5cac15 100644
--- a/src/main/java/cc/polyfrost/oneconfig/plugin/OneConfigMixinPlugin.java
+++ b/src/main/java/cc/polyfrost/oneconfig/plugin/OneConfigMixinPlugin.java
@@ -1,5 +1,6 @@
package cc.polyfrost.oneconfig.plugin;
+import cc.polyfrost.oneconfig.libs.mixinextras.MixinExtrasBootstrap;
import org.spongepowered.asm.lib.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
@@ -12,6 +13,7 @@ public class OneConfigMixinPlugin implements IMixinConfigPlugin {
@Override
public void onLoad(String mixinPackage) {
+ MixinExtrasBootstrap.init();
try {
Class.forName("gg.essential.vigilance.Vigilant");
isVigilance = true;