Skip to content

Commit

Permalink
refactor: move bstats
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyisa committed Feb 6, 2023
1 parent 98090a5 commit 292deb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/dev/diona/pluginhooker/PluginHooker.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ public PluginHooker() {
this.getLogger().info("PluginHooker loaded! start hooking...");
hookerManager = new HookerManager();
configManager.loadConfig(this);
if (enabledBstats) {
new Metrics(this, 17654);
}
}

@Override
public void onEnable() {
if (enabledBstats) {
new Metrics(this, 17654);
}
Bukkit.getPluginManager().registerEvents(new PlayerListener(), this);
}

Expand Down

0 comments on commit 292deb9

Please sign in to comment.