mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00: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
1 changed files with 5 additions and 1 deletions
|
@ -193,7 +193,11 @@ public final class BukkitMain extends JavaPlugin implements Listener, IPlotMain
|
||||||
getLogger().warning("Update checking disabled. Skipping.");
|
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) {
|
if (Settings.Enabled_Components.WORLDS) {
|
||||||
TaskManager.IMP.taskRepeat(this::unload, 20);
|
TaskManager.IMP.taskRepeat(this::unload, 20);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue