mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +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.");
|
getLogger().warning("Update checking disabled. Skipping.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Settings.Enabled_Components.METRICS) {
|
||||||
this.startMetrics();
|
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 New Issue
Block a user