Skip to content

Commit 522da8b

Browse files
committed
Initialize AnalyticManager earlier
1 parent 195af05 commit 522da8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/clementraynaud/skoice/Skoice.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ public void onEnable() {
8080
this.tempYamlFile.load();
8181
this.loginNotificationYamlFile = new LoginNotificationYamlFile(this);
8282
this.loginNotificationYamlFile.load();
83+
this.analyticManager = new AnalyticManager(this);
84+
this.analyticManager.initialize();
8385
Skoice.api = new SkoiceAPI(this);
8486
this.getServer().getPluginManager().registerEvents(Skoice.api, this);
8587
this.listenerManager = new ListenerManager(this);
@@ -90,8 +92,6 @@ public void onEnable() {
9092
new SkoiceCommand(this).init();
9193
this.hookManager = new HookManager(this);
9294
this.hookManager.initialize();
93-
this.analyticManager = new AnalyticManager(this);
94-
this.analyticManager.initialize();
9595
Updater updater = new Updater(this, this.getFile().getAbsolutePath());
9696
updater.runUpdaterTaskTimer();
9797
}

0 commit comments

Comments
 (0)