Skip to content

Commit

Permalink
fix metric tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei1058 committed Dec 6, 2023
1 parent 45d8c3a commit 5f1c526
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static boolean init(JavaPlugin plugin) {
}
Bukkit.getScheduler().runTaskTimer(plugin, new RefreshPlaceholdersTask(), 1L, placeholdersRefreshInterval);
}
MetricsManager.appendPie("sb_placeholder_refresh_interval", () -> String.valueOf(playerListRefreshInterval));
MetricsManager.appendPie("sb_placeholder_refresh_interval", () -> String.valueOf(placeholdersRefreshInterval));

int titleRefreshInterval = config.getInt(ConfigPath.SB_CONFIG_SIDEBAR_TITLE_REFRESH_INTERVAL);
if (titleRefreshInterval < 1) {
Expand Down

0 comments on commit 5f1c526

Please sign in to comment.