mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-18 11:16:16 +01:00
Don't force metrics. Forcing metrics is against the precedent for all major Spigot plugins
This commit is contained in:
parent
0d67c174aa
commit
4522d98934
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user