Registered metrics on bukkit (forgot)

This commit is contained in:
Rsl1122 2019-05-09 14:48:33 +03:00
parent b6c9cb56a0
commit 3e5a1ce793

View File

@ -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);