Don't force metrics. Forcing metrics is against the precedent for all major Spigot plugins

This commit is contained in:
dordsor21 2019-05-11 14:31:13 +01:00
parent 0d67c174aa
commit 4522d98934

View File

@ -193,7 +193,11 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
getLogger().warning("Update checking disabled. Skipping.");
}
this.startMetrics();
if (Settings.Enabled_Components.METRICS) {
this.startMetrics();
} else {
PlotSquared.log(Captions.CONSOLE_PLEASE_ENABLE_METRICS.f(getPluginName()));
}
if (Settings.Enabled_Components.WORLDS) {
TaskManager.IMP.taskRepeat(this::unload, 20);
try {