aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java b/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
index 51e3a6f..948f4ec 100644
--- a/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
+++ b/src/main/java/cc/polyfrost/oneconfig/internal/OneConfig.java
@@ -63,8 +63,8 @@ public class OneConfig {
testConfig = new TestConfig();
CommandManager.INSTANCE.registerCommand(OneConfigCommand.class);
CommandManager.INSTANCE.registerCommand(TestCommand.class);
- EventManager.INSTANCE.register(new HudCore());
- EventManager.INSTANCE.register(HypixelUtils.INSTANCE);
+ EventManager.getEventManager().register(new HudCore());
+ EventManager.getEventManager().register(HypixelUtils.INSTANCE);
reloadModsList();
initialized = true;
}