aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/events/EventManager.java
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-11 10:30:06 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-11 10:30:06 +0200
commit1ab7422957a76158883e0449ed593ac216c9ef80 (patch)
treeeb3bb5434a1b860941f85d2fdb543264d094f2de /src/main/java/cc/polyfrost/oneconfig/events/EventManager.java
parentd888d6b7358226792bf0cedbe67c7bb26204983f (diff)
parentf3aac4876936dc58e6251bffae4a203d7b964051 (diff)
downloadOneConfig-1ab7422957a76158883e0449ed593ac216c9ef80.tar.gz
OneConfig-1ab7422957a76158883e0449ed593ac216c9ef80.tar.bz2
OneConfig-1ab7422957a76158883e0449ed593ac216c9ef80.zip
Merge branch 'master' of github.com:Polyfrost/OneConfig
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/events/EventManager.java')
-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() {
}