Skip to content

Commit

Permalink
Move bStats metrics to last in onEnable for Bungee and Velocity
Browse files Browse the repository at this point in the history
  • Loading branch information
Refrac committed Aug 15, 2024
1 parent d3656bf commit db23c1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ public void onEnable() {
// Plugin startup logic
instance = this;

new Metrics(this, 12096);

loadFiles();

RyMessageUtils.sendConsole(false,
Expand All @@ -66,6 +64,8 @@ public void onEnable() {
loadHooks();

updateCheck();

new Metrics(this, 12096);
}

private void loadFiles() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ public void onProxyInitialization(ProxyInitializeEvent event) {

container = server.getPluginManager().getPlugin("simplestaffchat").get();

metricsFactory.make(this, 21704);

loadFiles();

RyMessageUtils.sendConsole(false,
Expand All @@ -89,6 +87,8 @@ public void onProxyInitialization(ProxyInitializeEvent event) {
loadHooks();

updateCheck();

metricsFactory.make(this, 21704);
}

private void loadFiles() {
Expand Down

0 comments on commit db23c1f

Please sign in to comment.