diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-11 10:02:41 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-11 10:02:41 +0700 |
commit | 78a8a15a48b25d2fe38c01a3ddb74bb6b24fa4f4 (patch) | |
tree | b28be336592e805b11dab47f38dba392c54cc5ea /src/main/java/cc/polyfrost/oneconfig/events | |
parent | 7abfe87ea8fcda67ce4bb6089b61f0efd82bec47 (diff) | |
download | OneConfig-78a8a15a48b25d2fe38c01a3ddb74bb6b24fa4f4.tar.gz OneConfig-78a8a15a48b25d2fe38c01a3ddb74bb6b24fa4f4.tar.bz2 OneConfig-78a8a15a48b25d2fe38c01a3ddb74bb6b24fa4f4.zip |
start using essential relocate again
update kotlin
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/events/EventManager.java | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/events/EventManager.java b/src/main/java/cc/polyfrost/oneconfig/events/EventManager.java index 05bb196..8492806 100644 --- a/src/main/java/cc/polyfrost/oneconfig/events/EventManager.java +++ b/src/main/java/cc/polyfrost/oneconfig/events/EventManager.java @@ -1,7 +1,7 @@ package cc.polyfrost.oneconfig.events; -import me.kbrewster.eventbus.EventBus; -import me.kbrewster.eventbus.invokers.LMFInvoker; +import cc.polyfrost.oneconfig.libs.eventbus.EventBus; +import cc.polyfrost.oneconfig.libs.eventbus.invokers.LMFInvoker; /** * Manages all events from OneConfig. @@ -10,13 +10,9 @@ public final class EventManager { /** * The instance of the {@link EventManager}. */ - private static final EventManager INSTANCE = new EventManager(); + public static final EventManager INSTANCE = new EventManager(); private final EventBus eventBus = new EventBus(new LMFInvoker(), Throwable::printStackTrace); - public static EventManager getEventManager() { - return INSTANCE; - } - private EventManager() { } |