aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/events/EventManager.java10
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() {
}