mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08:00
Registered metrics on bukkit (forgot)
This commit is contained in:
parent
b6c9cb56a0
commit
3e5a1ce793
@ -53,6 +53,8 @@ public class Plan extends BukkitPlugin implements PlanPlugin {
|
|||||||
locale = system.getLocaleSystem().getLocale();
|
locale = system.getLocaleSystem().getLocale();
|
||||||
system.enable();
|
system.enable();
|
||||||
|
|
||||||
|
registerMetrics();
|
||||||
|
|
||||||
logger.debug("Verbose debug messages are enabled.");
|
logger.debug("Verbose debug messages are enabled.");
|
||||||
String benchTime = " (" + timings.end("Enable").map(Benchmark::toDurationString).orElse("-") + ")";
|
String benchTime = " (" + timings.end("Enable").map(Benchmark::toDurationString).orElse("-") + ")";
|
||||||
logger.info(locale.getString(PluginLang.ENABLED) + benchTime);
|
logger.info(locale.getString(PluginLang.ENABLED) + benchTime);
|
||||||
|
Loading…
Reference in New Issue
Block a user